From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hannes Petermaier Date: Wed, 04 Feb 2015 10:05:49 +0100 Subject: [U-Boot] [PATCH] lcd: Add support for CONFIG_LCD_NOSTDOUT In-Reply-To: <20140811155235.260153d0@crub> References: <1394115971-22079-1-git-send-email-oe5hpm@oevsv.at> <20140811155235.260153d0@crub> Message-ID: <54D1E0ED.7000804@petermaier.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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