public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/5] cleanup and refactor lcd.c
@ 2014-11-20 16:13 Nikita Kiryanov
  2014-11-20 16:13 ` [U-Boot] [PATCH 1/5] lcd: remove CONFIG_SYS_INVERT_COLORS Nikita Kiryanov
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Nikita Kiryanov @ 2014-11-20 16:13 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-11-21 10:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-20 16:13 [U-Boot] [PATCH 0/5] cleanup and refactor lcd.c Nikita Kiryanov
2014-11-20 16:13 ` [U-Boot] [PATCH 1/5] lcd: remove CONFIG_SYS_INVERT_COLORS Nikita Kiryanov
2014-11-20 18:24   ` Simon Glass
2014-11-20 16:13 ` [U-Boot] [PATCH 2/5] lcd: cleanup lcd_drawchars Nikita Kiryanov
2014-11-20 18:30   ` Simon Glass
2014-11-20 16:13 ` [U-Boot] [PATCH 3/5] mpc8xx_lcd: get rid of CONFIG_EDT32F10 Nikita Kiryanov
2014-11-20 18:31   ` Simon Glass
2014-11-20 16:13 ` [U-Boot] [PATCH 4/5] lcd: remove LCD_MONOCHROME Nikita Kiryanov
2014-11-20 18:32   ` Simon Glass
2014-11-20 16:13 ` [U-Boot] [PATCH 5/5] lcd: refactor lcd console stuff into its own file Nikita Kiryanov
2014-11-20 18:35   ` Simon Glass
2014-11-21 10:42     ` Nikita Kiryanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox