mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 05:31:32 +00:00
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>
This commit is contained in:
parent
3e0773708d
commit
1e080988d0
2 changed files with 11 additions and 1 deletions
|
@ -536,12 +536,20 @@ int board_late_init(void)
|
||||||
setup_iomux_spi();
|
setup_iomux_spi();
|
||||||
power_init();
|
power_init();
|
||||||
#endif
|
#endif
|
||||||
setenv("stdout", "serial");
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Do not overwrite the console
|
||||||
|
* Use always serial for U-Boot console
|
||||||
|
*/
|
||||||
|
int overwrite_console(void)
|
||||||
|
{
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
int checkboard(void)
|
int checkboard(void)
|
||||||
{
|
{
|
||||||
puts("Board: MX51EVK\n");
|
puts("Board: MX51EVK\n");
|
||||||
|
|
|
@ -128,6 +128,8 @@
|
||||||
#define CONFIG_VIDEO_IPUV3
|
#define CONFIG_VIDEO_IPUV3
|
||||||
#define CONFIG_CFB_CONSOLE
|
#define CONFIG_CFB_CONSOLE
|
||||||
#define CONFIG_VGA_AS_SINGLE_DEVICE
|
#define CONFIG_VGA_AS_SINGLE_DEVICE
|
||||||
|
#define CONFIG_SYS_CONSOLE_IS_IN_ENV
|
||||||
|
#define CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
|
||||||
#define CONFIG_VIDEO_BMP_RLE8
|
#define CONFIG_VIDEO_BMP_RLE8
|
||||||
#define CONFIG_SPLASH_SCREEN
|
#define CONFIG_SPLASH_SCREEN
|
||||||
#define CONFIG_BMP_16BPP
|
#define CONFIG_BMP_16BPP
|
||||||
|
|
Loading…
Add table
Reference in a new issue