[U-Boot] [PATCH] lcd: Add support for CONFIG_LCD_NOSTDOUT
Hannes Petermaier
hannes at petermaier.org
Wed Feb 4 10:05:49 CET 2015
On 2014-08-11 15:52, Anatolij Gustschin wrote:
> Hi,
Hi,
sorry for my late response because i've been working on some other
project for a couple of months.
>
> 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?
Yes - that works for me - so we can close the case.
Many thanks.
I will create some patch for the B&R boards.
>
> Best regards,
>
> Anatolij
best regards,
Hannes
More information about the U-Boot
mailing list