summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2013-01-23 13:15:35 (GMT)
committerMichal Simek <michal.simek@xilinx.com>2013-02-04 11:09:50 (GMT)
commit82b6a4764c4ff0ea9b23875b99452a230cbb75db (patch)
treeb6a68d2f41443b25b222c2dbb0d6eae4180edb8c
parent151eeeb2754da4b2d26bb878206d45ce58276fe0 (diff)
downloadu-boot-fsl-qoriq-82b6a4764c4ff0ea9b23875b99452a230cbb75db.tar.xz
common: cmd_bdinfo: Fix compilation warning for microblaze
Fix one printf compilation warning in microblaze bdinfo part. Warning log: cmd_bdinfo.c: In function 'do_bdinfo': cmd_bdinfo.c:219:2: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat] Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r--common/cmd_bdinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c
index 65a5e08..28b5241 100644
--- a/common/cmd_bdinfo.c
+++ b/common/cmd_bdinfo.c
@@ -216,7 +216,7 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
#if defined(CONFIG_CMD_NET)
print_eths();
#endif
- printf("baudrate = %u bps\n", (ulong)bd->bi_baudrate);
+ printf("baudrate = %u bps\n", bd->bi_baudrate);
return 0;
}