summaryrefslogtreecommitdiff
path: root/common/cmd_bdinfo.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-10-12 14:21:20 +0000
committerTom Rini <trini@ti.com>2012-10-19 15:25:46 -0700
commit55f97c1bfb3eb71e623576179fc0b995d0fd18ad (patch)
tree4384ebd46c73bd414265c8dfd1dbaa8d63441411 /common/cmd_bdinfo.c
parenta25356d77143b3ecf3695b5b71c5abbdca6da079 (diff)
x86: Change global data baudrate to int
This doesn't need to be a long, so change it. 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 656c565535..48cdd16dd2 100644
--- a/common/cmd_bdinfo.c
+++ b/common/cmd_bdinfo.c
@@ -439,7 +439,7 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
printf("ip_addr = %s\n", getenv("ipaddr"));
print_mhz("ethspeed", bd->bi_ethspeed);
#endif
- printf("baudrate = %d bps\n", bd->bi_baudrate);
+ printf("baudrate = %u bps\n", bd->bi_baudrate);
return 0;
}