diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2012-08-05 07:31:34 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-09-01 14:58:18 +0200 |
commit | fca37fcde1c3485a28ade8329ca54130d9d4ea2a (patch) | |
tree | 0fa6fa1f658f7889f2be49efb397c13a6fa3bc34 /board/ttcontrol/vision2 | |
parent | 1e080988d035ed4c472e613462a3bc9f64108a3a (diff) | |
download | u-boot-imx-fca37fcde1c3485a28ade8329ca54130d9d4ea2a.zip u-boot-imx-fca37fcde1c3485a28ade8329ca54130d9d4ea2a.tar.gz u-boot-imx-fca37fcde1c3485a28ade8329ca54130d9d4ea2a.tar.bz2 |
vision2: 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/ttcontrol/vision2')
-rw-r--r-- | board/ttcontrol/vision2/vision2.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/board/ttcontrol/vision2/vision2.c b/board/ttcontrol/vision2/vision2.c index d68bef7..d287544 100644 --- a/board/ttcontrol/vision2/vision2.c +++ b/board/ttcontrol/vision2/vision2.c @@ -674,11 +674,18 @@ int board_late_init(void) udelay(2000); #endif - setenv("stdout", "serial"); - return 0; } +/* + * Do not overwrite the console + * Use always serial for U-Boot console + */ +int overwrite_console(void) +{ + return 1; +} + int checkboard(void) { puts("Board: TTControl Vision II CPU V\n"); |