summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/lcd.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/common/lcd.c b/common/lcd.c
index 3d5c6d0..64f5868 100644
--- a/common/lcd.c
+++ b/common/lcd.c
@@ -166,7 +166,6 @@ int drv_lcd_init(void)
void lcd_clear(void)
{
- int bg_color;
char *s;
ulong addr;
static int do_splash = 1;
@@ -190,11 +189,9 @@ void lcd_clear(void)
#ifndef CONFIG_SYS_WHITE_ON_BLACK
lcd_setfgcolor(CONSOLE_COLOR_BLACK);
lcd_setbgcolor(CONSOLE_COLOR_WHITE);
- bg_color = CONSOLE_COLOR_WHITE;
#else
lcd_setfgcolor(CONSOLE_COLOR_WHITE);
lcd_setbgcolor(CONSOLE_COLOR_BLACK);
- bg_color = CONSOLE_COLOR_BLACK;
#endif /* CONFIG_SYS_WHITE_ON_BLACK */
#ifdef LCD_TEST_PATTERN
@@ -295,7 +292,7 @@ ulong lcd_setmem(ulong addr)
ulong size;
int line_length;
- debug("LCD panel info: %d x %d, %d bit/pix\n", panel_info.vl_col,
+ debug("LCD panel info: %lu x %lu, %d bit/pix\n", panel_info.vl_col,
panel_info.vl_row, NBITS(panel_info.vl_bpix));
size = lcd_get_size(&line_length);