public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH V2 0/4] common/lcd cleanup
@ 2012-06-25  7:04 Nikita Kiryanov
  2012-06-25  7:04 ` [U-Boot] [PATCH V2 1/4] common lcd: simplify lcd_logo Nikita Kiryanov
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Nikita Kiryanov @ 2012-06-25  7:04 UTC (permalink / raw)
  To: u-boot

This patch series attempts to simplify #ifdef complexity in common/lcd.c.

It was compile tested on Arm and PowerPC using MAKEALL

checkpatch reports warnings on some of the patches:
0003: WARNING: use of volatile is usually wrong
	Since 'volatile' was in the original code I left it in the patch as
	well.

Changes in V2:
	- Rebased on u-boot-video
	- patches 2 and 3 of original patchset dropped because I'm not sure
	what to do about them
	- simplify lcd_logo: used bitmap_display() to further simplify code
	- simplify lcd_display_bitmap: fixed pointer increment error
	- simplify lcd_display_bitmap: change to simplify lcd_logo breaks
	MCC200 board because it does not #define CONFIG_CMD_BMP. Added a local
	implementation of bitmap_display().

Nikita Kiryanov (4):
  common lcd: simplify lcd_logo
  common lcd: simplify lcd_display
  common lcd: simplify core functions
  common lcd: simplify lcd_display_bitmap

 board/mcc200/lcd.c |   20 +++++++
 common/lcd.c       |  141 +++++++++++++++++++++++++++-------------------------
 2 files changed, 94 insertions(+), 67 deletions(-)

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

end of thread, other threads:[~2012-07-04 10:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-25  7:04 [U-Boot] [PATCH V2 0/4] common/lcd cleanup Nikita Kiryanov
2012-06-25  7:04 ` [U-Boot] [PATCH V2 1/4] common lcd: simplify lcd_logo Nikita Kiryanov
2012-06-25  7:04 ` [U-Boot] [PATCH V2 2/4] common lcd: simplify lcd_display Nikita Kiryanov
2012-06-25  7:04 ` [U-Boot] [PATCH V2 3/4] common lcd: simplify core functions Nikita Kiryanov
2012-06-25  7:23   ` Wolfgang Denk
2012-07-04 10:33     ` Nikita Kiryanov
2012-06-25  7:04 ` [U-Boot] [PATCH V2 4/4] common lcd: simplify lcd_display_bitmap Nikita Kiryanov

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