From a0c2202ff5aeb8ab7e64aea1da3368291a764d7c Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 10 Jul 2014 12:23:41 -0600 Subject: [PATCH] SAMA5D4-EK LCD: Actual hardware with appears to be RGB888 --- configs/sama5d4-ek/include/board.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configs/sama5d4-ek/include/board.h b/configs/sama5d4-ek/include/board.h index 0baf6fa8c3..d11d15871b 100644 --- a/configs/sama5d4-ek/include/board.h +++ b/configs/sama5d4-ek/include/board.h @@ -168,8 +168,11 @@ #define BUTTON_USER_BIT (1 << BUTTON_USER) /* LCD Interface, Geometry and Timing ***********************************************/ +/* This configuration applies only to the TM7000 LCD/Touchscreen module. Other LCDs + * will require changes. + */ -#define BOARD_LCDC_OUTPUT_BPP 18 /* Output format to H/W is 18BPP RGB666 */ +#define BOARD_LCDC_OUTPUT_BPP 24 /* Output format to H/W is 24BPP RGB888 */ #define BOARD_LCDC_WIDTH 800 /* Display width (pixels) */ #define BOARD_LCDC_HEIGHT 480 /* Display height (rows) */ #undef BOARD_LCDC_MCK_MUL2 /* Source clock is Mck (vs 2*Mck) */