From d5591a2b28c4052c9cb7688ce09e66aa6add05bf Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sun, 22 Jun 2014 12:55:41 +0200 Subject: zen/zenxfi: switch lcd driver to 24-bit mode Change-Id: I2c42f0e422130bcdaf1aaf92c7b56776752f4f64 --- firmware/export/config/creativezen.h | 6 ++---- firmware/export/config/creativezenxfi.h | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) (limited to 'firmware/export/config') diff --git a/firmware/export/config/creativezen.h b/firmware/export/config/creativezen.h index e41a246ccf..5b89438691 100644 --- a/firmware/export/config/creativezen.h +++ b/firmware/export/config/creativezen.h @@ -95,10 +95,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 diff --git a/firmware/export/config/creativezenxfi.h b/firmware/export/config/creativezenxfi.h index d70a452312..f74a2ca165 100644 --- a/firmware/export/config/creativezenxfi.h +++ b/firmware/export/config/creativezenxfi.h @@ -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 -- cgit v1.2.3