
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@gmail.com wrote:
From: Stephane Ayotte sayotte@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@tycoint.com
This implementation is similar to what has been added to cfb_console.c by Stefan Roese sr@denx.de per commit 6cc7ba9e on 05/15/2009
I am sending this patch using sayotte.tyco@gmail.com as our regular smtp server sayotte@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@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot