This allows the logo/info rendering routines to use the regular
lcd_putc/lcd_puts/lcd_printf calls.

Signed-off-by: Haavard Skinnemoen <[EMAIL PROTECTED]>
---
 common/lcd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/common/lcd.c b/common/lcd.c
index 82e557e..6ad2133 100644
--- a/common/lcd.c
+++ b/common/lcd.c
@@ -440,6 +440,7 @@ static int lcd_init (void *lcdbase)
        debug ("[LCD] Initializing LCD frambuffer at %p\n", lcdbase);
 
        lcd_ctrl_init (lcdbase);
+       lcd_is_enabled = 1;
        lcd_clear (NULL, 1, 1, NULL);   /* dummy args */
        lcd_enable ();
 
@@ -450,7 +451,6 @@ static int lcd_init (void *lcdbase)
 #else
        console_row = 1;        /* leave 1 blank line below logo */
 #endif
-       lcd_is_enabled = 1;
 
        return 0;
 }
-- 
1.5.6.3

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to