From: Mark Jackson Date: Tue, 21 Jul 2009 10:18:44 +0000 (+0100) Subject: Add 16bit colour support in lcd.h X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=69f32e6c24d41fcdf347ff64e9c13b25059ace58;p=project%2Fbcm63xx%2Fu-boot.git Add 16bit colour support in lcd.h This patch adds support for LCD_COLOR16 in include/lcd.h. Signed-off-by: Mark Jackson --- diff --git a/include/lcd.h b/include/lcd.h index 2de36ab7b7..4d1dd9e5e8 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.