]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
lcd: fix console address is not initialized
authorBo Shen <voice.shen@atmel.com>
Wed, 28 Jan 2015 01:13:22 +0000 (09:13 +0800)
committerTom Rini <trini@ti.com>
Wed, 28 Jan 2015 21:58:02 +0000 (16:58 -0500)
This commit 904672e (lcd: refactor lcd console stuff into its
own file), which cause lcd console address is not initialized.

This patch initialize the lcd console use the default value,
will be update when splash screen is enabled.

Signed-off-by: Bo Shen <voice.shen@atmel.com>
common/lcd.c

index cc34b8aee4c484c123d6770d778331b9c8b6e880..1195a54efcc742837f3cb703b4c8ad6f5d356569 100644 (file)
@@ -268,6 +268,7 @@ void lcd_clear(void)
        console_rows = panel_info.vl_row / VIDEO_FONT_HEIGHT;
 #endif
        console_cols = panel_info.vl_col / VIDEO_FONT_WIDTH;
+       lcd_init_console(lcd_base, console_rows, console_cols);
        lcd_init_console(lcd_logo(), console_rows, console_cols);
        lcd_sync();
 }