Skip to content
Snippets Groups Projects
Commit ddb5c5be authored by Bob Liu's avatar Bob Liu Committed by Sonic Zhang
Browse files

blackfin: add baudrate to bdinfo


Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
Signed-off-by: default avatarSonic Zhang <sonic.zhang@analog.com>
parent 2e2ed3f4
No related branches found
No related tags found
No related merge requests found
...@@ -231,6 +231,8 @@ static int global_board_data_init(void) ...@@ -231,6 +231,8 @@ static int global_board_data_init(void)
bd->bi_sclk = get_sclk(); bd->bi_sclk = get_sclk();
bd->bi_memstart = CONFIG_SYS_SDRAM_BASE; bd->bi_memstart = CONFIG_SYS_SDRAM_BASE;
bd->bi_memsize = CONFIG_SYS_MAX_RAM_SIZE; bd->bi_memsize = CONFIG_SYS_MAX_RAM_SIZE;
bd->bi_baudrate = (gd->baudrate > 0)
? simple_strtoul(gd->baudrate, NULL, 10) : CONFIG_BAUDRATE;
return 0; return 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment