[U-Boot] [PATCH] LCD: Add an option to skip registration as an stdio output
Hannes Schmelzer
hannes at schmelzer.or.at
Tue Dec 1 18:41:49 CET 2015
hi,
sorry i was absent a few days from u-boot (writing vxWorks drivers :-() ...
but, do we really need this ?
i had same problem on my b&r boards, were we printout something on lcd
but console should remain on stdout/stdin.
what about:
int overwrite_console(void)
{
return 1;
}
and activate
#define CONFIG_SYS_CONSOLE_IS_IN_ENV
#define CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
should do the same i think.
best regards,
Hannes
On 2015-11-19 21:54, Anatolij Gustschin wrote:
> On Tue, 3 Nov 2015 11:14:49 -0500
> sayotte.tyco at gmail.com wrote:
>
>> From: Stephane Ayotte <sayotte at tycoint.com>
>>
>> This patch adds an option to skip the registration of LCD stdio ouput for
>> boards that want to show different text on LCD than on serial output (or
>> the active stdout selected by the environment variable).
>>
>> Signed-off-by: Stephane Ayotte <sayotte at tycoint.com>
>> ---
>>
>> This implementation is similar to what has been added to cfb_console.c by
>> Stefan Roese <sr at denx.de> per commit 6cc7ba9e on 05/15/2009
>>
>> I am sending this patch using <sayotte.tyco at gmail.com>
>> as our regular smtp server <sayotte at tycoint.com> causes patch issues.
>>
>> common/lcd.c | 13 +++++++++++++
>> 1 file changed, 13 insertions(+)
> applied to u-boot-video/master, thanks!
>
> Anatolij
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
>
More information about the U-Boot
mailing list