]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
am33xx, spl, siemens: enable debug uart output again
authorHeiko Schocher <hs@denx.de>
Thu, 28 May 2015 05:27:36 +0000 (07:27 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:47:10 +0000 (22:47 +0200)
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>
board/siemens/common/board.c

index cc0ac6b0bda3eff3f2ffd3b0b1c9cab6ae11b879..fb2de48fbc2085586d79698ef3c95ec05c4ca1fd 100644 (file)
@@ -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");