Skip to content

Commit

Permalink
am33xx, spl, siemens: enable debug uart output again
Browse files Browse the repository at this point in the history
a6b541b: TI ARMv7: Don't use GD before crt0.S has set it

moves the init of the debug uart at the very end of SPL code.
Enable it for the siemens board earlier, as they print
ddr settings ... all debug output before board_init_r()
is here currently useless. Maybe we must rework this
globally?

Signed-off-by: Heiko Schocher <hs@denx.de>
  • Loading branch information
hsdenx authored and trini committed May 28, 2015
1 parent 062f94f commit 012681b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions board/siemens/common/board.c
Expand Up @@ -43,6 +43,11 @@ void set_mux_conf_regs(void)
/* Initalize the board header */
enable_i2c0_pin_mux();
i2c_set_bus_num(0);

/* enable early the console */
gd->baudrate = CONFIG_BAUDRATE;
serial_init();
gd->have_console = 1;
if (read_eeprom() < 0)
puts("Could not get board ID.\n");

Expand Down

0 comments on commit 012681b

Please sign in to comment.