From: Bo Shen Date: Wed, 28 Jan 2015 01:13:22 +0000 (+0800) Subject: lcd: fix console address is not initialized X-Git-Tag: v2015.04-rc1~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2af13d6b6265a6700c4f65597410b769895024bf;p=pandora-u-boot.git 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 --- diff --git a/common/lcd.c b/common/lcd.c index cc34b8aee4c..1195a54efcc 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(); }