zen/zenxfi: switch lcd driver to 24-bit mode

Change-Id: I2c42f0e422130bcdaf1aaf92c7b56776752f4f64
This commit is contained in:
Amaury Pouly 2014-06-22 12:55:41 +02:00
parent cd4fb9ee79
commit d5591a2b28
9 changed files with 22 additions and 46 deletions

View file

@ -102,10 +102,8 @@
#define LCD_HEIGHT 240
/* sqrt(320^2 + 240^2) / 2.5 = 160.0 */
#define LCD_DPI 160
#define LCD_DEPTH 16 /* 65536 colours */
#define LCD_PIXELFORMAT RGB565 /* rgb565 */
/* framebuffer uses 24-bit/pix */
#define IMX233_FRAMEBUFFER_SIZE (LCD_WIDTH * LCD_HEIGHT * 3)
#define LCD_DEPTH 24 /* 65536 colours */
#define LCD_PIXELFORMAT RGB888 /* rgb565 */
/* Define this if you have a software controlled poweroff */
#define HAVE_SW_POWEROFF