summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorBastian Ruppert <Bastian.Ruppert@Sewerin.de>2012-09-13 22:29:00 +0000
committerTom Rini <trini@ti.com>2012-10-01 10:02:13 -0700
commit39e133d1962bd90c136460f0053dcd184feb053c (patch)
treead6c835e49bc567d422ecb08279a144e5bf61762 /board
parentbdb04abe42d808223bec5c9e589109b5d3953a97 (diff)
downloadu-boot-imx-39e133d1962bd90c136460f0053dcd184feb053c.zip
u-boot-imx-39e133d1962bd90c136460f0053dcd184feb053c.tar.gz
u-boot-imx-39e133d1962bd90c136460f0053dcd184feb053c.tar.bz2
davinci: ea20: the console is always set to the serial line
Do not allow to overwrite it when video is enabled. Signed-off-by: Bastian Ruppert <Bastian.Ruppert@Sewerin.de> CC: Tom Rini <trini@ti.com> Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'board')
-rw-r--r--board/davinci/ea20/ea20.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/board/davinci/ea20/ea20.c b/board/davinci/ea20/ea20.c
index 69307e4..0edd910 100644
--- a/board/davinci/ea20/ea20.c
+++ b/board/davinci/ea20/ea20.c
@@ -254,6 +254,15 @@ int board_early_init_f(void)
return 0;
}
+/*
+ * Do not overwrite the console
+ * Use always serial for U-Boot console
+ */
+int overwrite_console(void)
+{
+ return 1;
+}
+
int board_init(void)
{
/* arch number of the board */
@@ -281,8 +290,6 @@ int board_late_init(void)
/* Set HALTEN to high */
gpio_direction_output(134, 1);
- setenv("stdout", "serial");
-
/* Set fixed contrast settings for LCD via I2C potentiometer */
buf[0] = 0x00;
buf[1] = 0xd7;