Re: [U-Boot] [PATCH] lcd: Add support for CONFIG_LCD_NOSTDOUT

2015-02-04 Thread Hannes Petermaier
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

Re: [U-Boot] [PATCH] lcd: Add support for CONFIG_LCD_NOSTDOUT

2014-08-11 Thread Anatolij Gustschin
Hi, 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(

Re: [U-Boot] [PATCH] lcd: Add support for CONFIG_LCD_NOSTDOUT

2014-05-04 Thread Hannes Petermaier
Hi Jeroen, many thanks for answer. Unfortunately no. The LCD-framework does overrule this environment settings. I guess the reason for this behaviour is, that environment ist loaded _before_ the lcd-driver is initialized. best regards, hannes Jeroen Hofstee wrote: > On do, 2014-03-06 at 15:26

Re: [U-Boot] [PATCH] lcd: Add support for CONFIG_LCD_NOSTDOUT

2014-05-03 Thread Jeroen Hofstee
On do, 2014-03-06 at 15:26 +0100, Hannes Petermaier wrote: > - Adds support for CONFIG_LCD_NOSTDOUT, which prevents switching > stdout to the LCD screen, usefull in case when only lcd_puts(...), > lcd_printf(...) is used for displaying status informations. > > Signed-off-by: Hannes Petermaier

Re: [U-Boot] [PATCH] lcd: Add support for CONFIG_LCD_NOSTDOUT

2014-03-10 Thread Gerhard Sittig
On Sat, Mar 08, 2014 at 20:46 +0100, Hannes Petermaier wrote: > > Hi Gerhard, > > On 2014-03-06 20:49, Gerhard Sittig wrote: > >In general U-Boot tries to get away from the multitude of ifdefs > >where possible. I'm afraid adding a new one needs a very good > >reason to get perceived as welcome.

Re: [U-Boot] [PATCH] lcd: Add support for CONFIG_LCD_NOSTDOUT

2014-03-08 Thread Hannes Petermaier
Hi Gerhard, On 2014-03-06 20:49, Gerhard Sittig wrote: In general U-Boot tries to get away from the multitude of ifdefs where possible. I'm afraid adding a new one needs a very good reason to get perceived as welcome. By the way i've found a passage within README, which tells to do so as id id

Re: [U-Boot] [PATCH] lcd: Add support for CONFIG_LCD_NOSTDOUT

2014-03-06 Thread Hannes Petermaier
On 2014-03-06 20:49, Gerhard Sittig wrote: Hi Gerhard, On Thu, Mar 06, 2014 at 15:26 +0100, Hannes Petermaier wrote: --- a/common/lcd.c +++ b/common/lcd.c @@ -400,12 +400,12 @@ __weak int lcd_get_size(int *line_length) int drv_lcd_init(void) { - struct stdio_dev lcddev; - i

Re: [U-Boot] [PATCH] lcd: Add support for CONFIG_LCD_NOSTDOUT

2014-03-06 Thread Gerhard Sittig
On Thu, Mar 06, 2014 at 15:26 +0100, Hannes Petermaier wrote: > > --- a/common/lcd.c > +++ b/common/lcd.c > @@ -400,12 +400,12 @@ __weak int lcd_get_size(int *line_length) > > int drv_lcd_init(void) > { > - struct stdio_dev lcddev; > - int rc; > - > lcd_base = (void *) gd->fb_bas

[U-Boot] [PATCH] lcd: Add support for CONFIG_LCD_NOSTDOUT

2014-03-06 Thread Hannes Petermaier
- Adds support for CONFIG_LCD_NOSTDOUT, which prevents switching stdout to the LCD screen, usefull in case when only lcd_puts(...), lcd_printf(...) is used for displaying status informations. Signed-off-by: Hannes Petermaier --- README |7 +++ common/lcd.c |9 ++--- 2 f