@@ -1959,6 +1959,13 @@ CBFS (Coreboot Filesystem) support
Normally display is black on white
background; define
CONFIG_SYS_WHITE_ON_BLACK to get it
inverted.
+ 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.
+
CONFIG_LCD_ALIGNMENT
Normally the LCD is page-aligned
(typically 4KB). If this is
@@ -194,12 +194,11 @@ __weak int lcd_get_size(int *line_length)
int drv_lcd_init(void)
{
- struct stdio_dev lcddev;
- int rc;
-
lcd_base = map_sysmem(gd->fb_base, 0);
-
lcd_init(lcd_base); /* LCD
initialization */
+#ifndef CONFIG_LCD_NOSTDOUT
+ struct stdio_dev lcddev;
+ int rc;
/* Device initialization */