diff options
author | Simon Glass <sjg@chromium.org> | 2022-10-16 15:08:59 -0600 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2022-10-30 20:07:16 +0100 |
commit | 816605652dd062a655a077778ed0f5c9724646fd (patch) | |
tree | f1445a9d3cd6f655602d12c02c558b5e5d2b4d5e /common | |
parent | 817f93422bf36cafe636cf093a5fce3ebe94d5c6 (diff) | |
download | u-boot-816605652dd062a655a077778ed0f5c9724646fd.tar.gz u-boot-816605652dd062a655a077778ed0f5c9724646fd.tar.bz2 u-boot-816605652dd062a655a077778ed0f5c9724646fd.zip |
video: Drop CONFIG_LCD_INFO_BELOW_LOGO
This option is not used anymore since the LCD implementation is being
removed. Drop it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r-- | common/lcd.c | 6 | ||||
-rw-r--r-- | common/lcd_console.c | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/common/lcd.c b/common/lcd.c index 2134e60324..53ff8dd744 100644 --- a/common/lcd.c +++ b/common/lcd.c @@ -178,7 +178,7 @@ void lcd_clear(void) } lcd_logo(); -#if defined(CONFIG_LCD_LOGO) && !defined(CONFIG_LCD_INFO_BELOW_LOGO) +#if defined(CONFIG_LCD_LOGO) addr = (ulong)lcd_base + BMP_LOGO_HEIGHT * lcd_line_length; lcd_init_console((void *)addr, panel_info.vl_col, panel_info.vl_row, panel_info.vl_rot); @@ -209,11 +209,7 @@ static int lcd_init(void *lcdbase) /* Initialize the console */ lcd_set_col(0); -#ifdef CONFIG_LCD_INFO_BELOW_LOGO - lcd_set_row(7 + BMP_LOGO_HEIGHT / VIDEO_FONT_HEIGHT); -#else lcd_set_row(1); /* leave 1 blank line below logo */ -#endif return 0; } diff --git a/common/lcd_console.c b/common/lcd_console.c index ed36c78440..cde96deb3c 100644 --- a/common/lcd_console.c +++ b/common/lcd_console.c @@ -125,7 +125,7 @@ static inline void console_newline(void) void console_calc_rowcol(struct console_t *pcons, u32 sizex, u32 sizey) { pcons->cols = sizex / VIDEO_FONT_WIDTH; -#if defined(CONFIG_LCD_LOGO) && !defined(CONFIG_LCD_INFO_BELOW_LOGO) +#if defined(CONFIG_LCD_LOGO) pcons->rows = (pcons->lcdsizey - BMP_LOGO_HEIGHT); pcons->rows /= VIDEO_FONT_HEIGHT; #else |