projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdc873e
)
Add 16bit colour support in lcd.h
author
Mark Jackson
<mpfj-list@mimc.co.uk>
Tue, 21 Jul 2009 10:18:44 +0000
(11:18 +0100)
committer
Anatolij Gustschin
<agust@denx.de>
Sun, 26 Jul 2009 11:14:14 +0000
(13:14 +0200)
This patch adds support for LCD_COLOR16 in include/lcd.h.
Signed-off-by: Mark Jackson <mpfj@mimc.co.uk>
include/lcd.h
patch
|
blob
|
history
diff --git
a/include/lcd.h
b/include/lcd.h
index 2de36ab7b7dad1ad26eca697c867fa4b33afcc76..4d1dd9e5e825db692da05e43df2a9826f54c538a 100644
(file)
--- a/
include/lcd.h
+++ b/
include/lcd.h
@@
-326,7
+326,7
@@
void lcd_show_board_info(void);
#if LCD_BPP == LCD_MONOCHROME
# define COLOR_MASK(c) ((c) | (c) << 1 | (c) << 2 | (c) << 3 | \
(c) << 4 | (c) << 5 | (c) << 6 | (c) << 7)
-#elif
LCD_BPP == LCD_COLOR8
+#elif
(LCD_BPP == LCD_COLOR8) || (LCD_BPP == LCD_COLOR16)
# define COLOR_MASK(c) (c)
#else
# error Unsupported LCD BPP.