From 1e080988d035ed4c472e613462a3bc9f64108a3a Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Sun, 5 Aug 2012 07:31:33 +0000 Subject: mx51evk: 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: Fabio Estevam --- board/freescale/mx51evk/mx51evk.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'board/freescale/mx51evk') diff --git a/board/freescale/mx51evk/mx51evk.c b/board/freescale/mx51evk/mx51evk.c index 514a7ac2ad..97c8a2c8b1 100644 --- a/board/freescale/mx51evk/mx51evk.c +++ b/board/freescale/mx51evk/mx51evk.c @@ -536,12 +536,20 @@ int board_late_init(void) setup_iomux_spi(); power_init(); #endif - setenv("stdout", "serial"); return 0; } #endif +/* + * Do not overwrite the console + * Use always serial for U-Boot console + */ +int overwrite_console(void) +{ + return 1; +} + int checkboard(void) { puts("Board: MX51EVK\n"); -- cgit v1.2.1