diff options
author | Simon Glass <sjg@chromium.org> | 2022-10-17 00:19:04 +0300 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2022-10-30 22:07:16 +0300 |
commit | 1dc6517649f294ca5b3ae71b98209cee55753b7c (patch) | |
tree | 604ec6d944dd38492f2aa5a9a89c5b82d15af910 /common/lcd_console.c | |
parent | 3c4d848085f7fcf782b9ce821c6f217369a456c9 (diff) | |
download | u-boot-1dc6517649f294ca5b3ae71b98209cee55753b7c.tar.xz |
Drop CONFIG_LCD_LOGO
This relies on the old LCD implementation which is to be removed. Drop it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/lcd_console.c')
-rw-r--r-- | common/lcd_console.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/common/lcd_console.c b/common/lcd_console.c index cde96deb3c..82befae902 100644 --- a/common/lcd_console.c +++ b/common/lcd_console.c @@ -12,9 +12,6 @@ #include <log.h> #include <serial.h> #include <video_font.h> /* Get font data, width and height */ -#if defined(CONFIG_LCD_LOGO) -#include <bmp_logo.h> -#endif static struct console_t cons; @@ -125,12 +122,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) - pcons->rows = (pcons->lcdsizey - BMP_LOGO_HEIGHT); - pcons->rows /= VIDEO_FONT_HEIGHT; -#else pcons->rows = sizey / VIDEO_FONT_HEIGHT; -#endif } void __weak lcd_init_console_rot(struct console_t *pcons) |