summaryrefslogtreecommitdiff
path: root/common/cmd_bdinfo.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-10-12 14:21:09 +0000
committerTom Rini <trini@ti.com>2012-10-19 15:25:44 -0700
commit15dc95d48a1c46c0bc738c1857665e61d8ad0b7c (patch)
tree6082c405b4a99c812212ffd7bdbd6240295841f4 /common/cmd_bdinfo.c
parentecd4551f14418abda71607946134fb40253b843b (diff)
downloadu-boot-imx-15dc95d48a1c46c0bc738c1857665e61d8ad0b7c.zip
u-boot-imx-15dc95d48a1c46c0bc738c1857665e61d8ad0b7c.tar.gz
u-boot-imx-15dc95d48a1c46c0bc738c1857665e61d8ad0b7c.tar.bz2
avr32: 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> Acked-by: Andreas Bießmann <andreas.devel@googlemail.com> 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 698826c..138693e 100644
--- a/common/cmd_bdinfo.c
+++ b/common/cmd_bdinfo.c
@@ -344,7 +344,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"));
- printf("baudrate = %lu bps\n", bd->bi_baudrate);
+ printf("baudrate = %u bps\n", bd->bi_baudrate);
return 0;
}