summaryrefslogtreecommitdiff
path: root/common/cmd_bdinfo.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-10-12 14:21:15 +0000
committerTom Rini <trini@ti.com>2012-10-19 15:25:45 -0700
commita8f1f1cd97b1efa4c5dfadf99a9646a402b4de38 (patch)
tree813b07eeb94c04d0c5efa748beebf7222c2cf6cf /common/cmd_bdinfo.c
parenta7e5ee9ebb40e93dbb06c9e3b72f40c99d86e384 (diff)
downloadu-boot-imx-a8f1f1cd97b1efa4c5dfadf99a9646a402b4de38.zip
u-boot-imx-a8f1f1cd97b1efa4c5dfadf99a9646a402b4de38.tar.gz
u-boot-imx-a8f1f1cd97b1efa4c5dfadf99a9646a402b4de38.tar.bz2
sparc: Change bi_baudrate and global data baudrate to int
These don't need to be longs, so change them. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'common/cmd_bdinfo.c')
-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 6b2f914..ca05985 100644
--- a/common/cmd_bdinfo.c
+++ b/common/cmd_bdinfo.c
@@ -231,7 +231,7 @@ int do_bdinfo(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
print_eth(0);
printf("ip_addr = %s\n", getenv("ipaddr"));
#endif
- printf("baudrate = %6ld bps\n", bd->bi_baudrate);
+ printf("baudrate = %6u bps\n", bd->bi_baudrate);
return 0;
}