[U-Boot] [PATCH 0/5] cleanup and refactor lcd.c

Nikita Kiryanov
2014-11-20T16:13:43Z

This series is a first step towards an end goal of merging all CONFIG_LCD
related functionality into CONFIG_VIDEO code. My plan is to start by refactoring
lcd.c into something cleaner (less ifdefs) and more modular (split code into
multiple files), then possibly refactor CONFIG_VIDEO code if needed, and then
finally: move CONFIG_LCD related functionality over to CONFIG_VIDEO code,
replacing as much CONFIG_LCD related code with CONFIG_VIDEO related code as
possible.

This specific step eliminates some unused code and refactors lcd console stuff
into its own file. These changes were compile tested on arm and powerpc.

Cc: Anatolij Gustschin <agust@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Simon Glass <sjg@chromium.org>

Nikita Kiryanov (5):
lcd: remove CONFIG_SYS_INVERT_COLORS
lcd: cleanup lcd_drawchars
mpc8xx_lcd: get rid of CONFIG_EDT32F10
lcd: remove LCD_MONOCHROME
lcd: refactor lcd console stuff into its own file

common/Makefile | 2 +-
common/lcd.c | 314 +++++----------------------------------------
common/lcd_console.c | 199 ++++++++++++++++++++++++++++
drivers/video/mpc8xx_lcd.c | 49 +------
drivers/video/pxa_lcd.c | 15 ---
include/configs/R360MPI.h | 1 -
include/lcd.h | 13 +-
include/lcd_console.h | 14 ++
8 files changed, 251 insertions(+), 356 deletions(-)
create mode 100644 common/lcd_console.c
create mode 100644 include/lcd_console.h

--
1.9.1