[U-Boot] [PATCH 0/7] common/lcd cleanup

Igor Grinberg grinberg at compulab.co.il
Thu May 24 13:42:37 CEST 2012


From: Nikita Kiryanov <nikita at compulab.co.il>

This patch series attempts to simplify #ifdef complexity in common/lcd.c. It 
preceeds my future work of adding splash screen support for omap.

It was compile tested on Arm and PowerPC using MAKEALL, and is dependant on the
following patches:
http://patchwork.ozlabs.org/patch/155491/
http://patchwork.ozlabs.org/patch/155492/
http://patchwork.ozlabs.org/patch/155493/
http://patchwork.ozlabs.org/patch/158179/

checkpatch reports warnings on some of the patches:
0001: line over 80 chars
	Since the original line was over 80 characters already, and there's no
	good way of shortening it, I left it over 80 chars.
0006: WARNING: use of volatile is usually wrong
	Since 'volatile' was in the original code I left it in the patch as
	well.

Nikita Kiryanov (7):
  common lcd: minor coding style changes
  common lcd: simplify #ifdefs
  common lcd: simplify bitmap_plot
  common lcd: simplify lcd_logo
  common lcd: simplify lcd_display
  common lcd: simplify core functions
  common lcd: simplify lcd_display_bitmap

 common/lcd.c |  422 +++++++++++++++++++++++++++++++---------------------------
 1 files changed, 226 insertions(+), 196 deletions(-)



More information about the U-Boot mailing list