public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] am33xx, spl, siemens: enable debug uart output again
@ 2015-02-24  6:18 Heiko Schocher
  2015-02-24 13:31 ` Simon Glass
  0 siblings, 1 reply; 15+ messages in thread
From: Heiko Schocher @ 2015-02-24  6:18 UTC (permalink / raw)
  To: u-boot

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 | 5 +++++
 1 file changed, 5 insertions(+)

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");
 
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2015-05-15  5:23 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-24  6:18 [U-Boot] [PATCH] am33xx, spl, siemens: enable debug uart output again Heiko Schocher
2015-02-24 13:31 ` Simon Glass
2015-03-02  6:56   ` Heiko Schocher
2015-03-02 13:59     ` Tom Rini
2015-03-04  7:42       ` Heiko Schocher
2015-03-04 16:40         ` Tom Rini
2015-03-05  6:22           ` Heiko Schocher
2015-03-05  8:46             ` Heiko Schocher
2015-03-05 14:50               ` Tom Rini
2015-03-06  7:24                 ` Heiko Schocher
2015-03-06 12:15                   ` Tom Rini
2015-05-14 10:37                   ` Heiko Schocher
2015-05-14 10:51                     ` Tom Rini
2015-05-14 12:46                       ` Simon Glass
2015-05-15  5:23                         ` Heiko Schocher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox