From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Jackson Date: Tue, 21 Jul 2009 11:18:44 +0100 Subject: [U-Boot] [PATCH] Add 16bit colour support in lcd.h Message-ID: <4A659604.1010903@mimc.co.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This patch adds support for LCD_COLOR16 in include/lcd.h. Signed-off-by: Mark Jackson --- include/lcd.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/lcd.h b/include/lcd.h index f054cac..0d6549c 100644 --- a/include/lcd.h +++ b/include/lcd.h @@ -314,7 +314,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.