summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Jackson <mpfj-list@mimc.co.uk>2009-07-21 11:18:44 +0100
committerAnatolij Gustschin <agust@denx.de>2009-07-26 13:14:14 +0200
commit69f32e6c24d41fcdf347ff64e9c13b25059ace58 (patch)
treeabefcfab365add3529e64fa40a6a72075e521d65
parentbdc873ea063b8cc6d44c6ab748b7723a97d8d7b3 (diff)
Add 16bit colour support in lcd.h
This patch adds support for LCD_COLOR16 in include/lcd.h. Signed-off-by: Mark Jackson <mpfj@mimc.co.uk>
-rw-r--r--include/lcd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/lcd.h b/include/lcd.h
index 2de36ab7b7d..4d1dd9e5e82 100644
--- 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.