summaryrefslogtreecommitdiff
path: root/common/lcd.c
diff options
context:
space:
mode:
authorBo Shen <voice.shen@atmel.com>2015-01-28 09:13:22 +0800
committerTom Rini <trini@ti.com>2015-01-28 16:58:02 -0500
commit2af13d6b6265a6700c4f65597410b769895024bf (patch)
tree4c2cef3fccd6c94a73dcfcb8c2f51a3dfd98668c /common/lcd.c
parent2a50712eca8f04397e049ed7e09e11842b4c1348 (diff)
downloadu-boot-imx-2af13d6b6265a6700c4f65597410b769895024bf.zip
u-boot-imx-2af13d6b6265a6700c4f65597410b769895024bf.tar.gz
u-boot-imx-2af13d6b6265a6700c4f65597410b769895024bf.tar.bz2
lcd: fix console address is not initialized
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>
Diffstat (limited to 'common/lcd.c')
-rw-r--r--common/lcd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/lcd.c b/common/lcd.c
index cc34b8a..1195a54 100644
--- a/common/lcd.c
+++ b/common/lcd.c
@@ -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();
}