From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hannes Schmelzer Date: Tue, 01 Dec 2015 18:41:49 +0100 Subject: [U-Boot] [PATCH] LCD: Add an option to skip registration as an stdio output In-Reply-To: <20151119215434.3ec9102d@crub> References: <1446567289-8054-1-git-send-email-sayotte.tyco@gmail.com> <20151119215434.3ec9102d@crub> Message-ID: <565DDBDD.5050202@schmelzer.or.at> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 >> >> 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 >> --- >> >> This implementation is similar to what has been added to cfb_console.c by >> Stefan Roese per commit 6cc7ba9e on 05/15/2009 >> >> I am sending this patch using >> as our regular smtp server 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 > >