diff options
author | Haavard Skinnemoen <haavard.skinnemoen@atmel.com> | 2008-09-01 16:21:21 +0200 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2008-10-25 22:59:41 +0200 |
commit | 6f93d2b8fca504200a5758f7c6dd2d6852900765 (patch) | |
tree | 2bc21bfdfc116825efde7db2a645ffeac45d40f1 /common | |
parent | 15b17ab52b7c15d46d9fc631cc06092e1e764de2 (diff) | |
download | u-boot-imx-6f93d2b8fca504200a5758f7c6dd2d6852900765.zip u-boot-imx-6f93d2b8fca504200a5758f7c6dd2d6852900765.tar.gz u-boot-imx-6f93d2b8fca504200a5758f7c6dd2d6852900765.tar.bz2 |
lcd: Set lcd_is_enabled before clearing the screen
This allows the logo/info rendering routines to use the regular
lcd_putc/lcd_puts/lcd_printf calls.
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'common')
-rw-r--r-- | common/lcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/lcd.c b/common/lcd.c index 03d5841..813c8d8 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; } |