summaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2012-08-05 07:31:33 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-09-01 14:58:18 +0200
commit1e080988d035ed4c472e613462a3bc9f64108a3a (patch)
treeb1fadccb89554dffef6cbd0d2c0c32736bc25e86 /board/freescale
parent3e0773708dd4e502c127a589be5779708eb7ba69 (diff)
downloadu-boot-imx-1e080988d035ed4c472e613462a3bc9f64108a3a.zip
u-boot-imx-1e080988d035ed4c472e613462a3bc9f64108a3a.tar.gz
u-boot-imx-1e080988d035ed4c472e613462a3bc9f64108a3a.tar.bz2
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 <fabio.estevam@freescale.com>
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/mx51evk/mx51evk.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/board/freescale/mx51evk/mx51evk.c b/board/freescale/mx51evk/mx51evk.c
index 514a7ac..97c8a2c 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");