From 3e0773708dd4e502c127a589be5779708eb7ba69 Mon Sep 17 00:00:00 2001 From: Stefano Babic Date: Sun, 5 Aug 2012 00:18:53 +0000 Subject: MX5: mx53loco: do not overwrite the console On this board, the console is always set to the serial line. Do not allow to overwrite it when video is enabled. Signed-off-by: Stefano Babic CC: Fabio Estevam Tested-by: Fabio Estevam --- board/freescale/mx53loco/mx53loco.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'board') diff --git a/board/freescale/mx53loco/mx53loco.c b/board/freescale/mx53loco/mx53loco.c index cbdcfad..7cfb3f4 100644 --- a/board/freescale/mx53loco/mx53loco.c +++ b/board/freescale/mx53loco/mx53loco.c @@ -495,14 +495,14 @@ int print_cpuinfo(void) return 0; } -#ifdef CONFIG_BOARD_LATE_INIT -int board_late_init(void) +/* + * Do not overwrite the console + * Use always serial for U-Boot console + */ +int overwrite_console(void) { - setenv("stdout", "serial"); - - return 0; + return 1; } -#endif int board_init(void) { -- cgit v1.1