[U-Boot] [PATCH] lcd: Add support for CONFIG_LCD_NOSTDOUT
Anatolij Gustschin
agust at denx.de
Mon Aug 11 15:52:35 CEST 2014
Hi,
On Thu, 6 Mar 2014 15:26:11 +0100
Hannes Petermaier <oe5hpm at oevsv.at> wrote:
...
> + CONFIG_LCD_NOSTDOUT
> + Normally 'stdout' is redirected to LCD-screen after
> + initialization. Define CONFIG_LCD_NOSTDOUT to avoid this.
> + Useful in case where only lcd_puts(...), lcd_printf(...)
> + functions of the framework are used and 'normal' u-boot
> + console remains e.g. on serial-line.
> +
this console redirection to lcd can be disabled by defining
#define CONFIG_SYS_CONSOLE_IS_IN_ENV
#define CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
in the board config file and adding below function to
the board code:
int overwrite_console(void)
{
return 1;
}
Can you please try it instead of this patch?
Best regards,
Anatolij
More information about the U-Boot
mailing list