diff options
author | Heiko Schocher <hs@denx.de> | 2015-05-28 07:27:36 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-05-28 08:18:25 -0400 |
commit | 012681b1fa822492bb8fdc5c2dd3d24d6092e110 (patch) | |
tree | aeb6cc29caf6cf8053eee7f7e9f61dd7c6839f87 /board/siemens | |
parent | 062f94f05bb7dcce9a1f40aef4021c53f7faf033 (diff) | |
download | u-boot-imx-012681b1fa822492bb8fdc5c2dd3d24d6092e110.zip u-boot-imx-012681b1fa822492bb8fdc5c2dd3d24d6092e110.tar.gz u-boot-imx-012681b1fa822492bb8fdc5c2dd3d24d6092e110.tar.bz2 |
am33xx, spl, siemens: enable debug uart output again
a6b541b090: 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>
Diffstat (limited to 'board/siemens')
-rw-r--r-- | board/siemens/common/board.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/board/siemens/common/board.c b/board/siemens/common/board.c index cc0ac6b..fb2de48 100644 --- a/board/siemens/common/board.c +++ b/board/siemens/common/board.c @@ -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"); |