mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
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>
This commit is contained in:
parent
a25356d771
commit
55f97c1bfb
2 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ typedef struct global_data {
|
|||
unsigned long gd_addr; /* Location of Global Data */
|
||||
bd_t *bd;
|
||||
unsigned long flags;
|
||||
unsigned long baudrate;
|
||||
unsigned int baudrate;
|
||||
unsigned long have_console; /* serial_init() was called */
|
||||
#ifdef CONFIG_PRE_CONSOLE_BUFFER
|
||||
unsigned long precon_buf_idx; /* Pre-Console buffer index */
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue