am33xx, spl, siemens: enable debug uart output again
PATCH v2 1/1 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?
---
Changes in v2:
- rebase against current mainline 2e2ce6c0c8d3
- resend as patchwork misses the commit message
board/siemens/common/board.c | 5 +++++ 1 file changed, 5 insertions(+)
board/siemens/common/board.c +5 -0
@@ -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" );
Signature · 1 line
2.1.0
PATCH v2 1/1 am33xx, spl, siemens: enable debug uart output again
Quoted 10 lines · Heiko Schocher
a6b541b090: TI ARMv7: Don't use GD beforecrt0.Shas set itmoves 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 <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150528/4fa54de8/attachment.sig>