From 80c29457c21dbe1f9994bf2d173c329cf3c7227a Mon Sep 17 00:00:00 2001 From: Torbjorn Svensson Date: Wed, 15 Dec 2010 12:05:18 +0100 Subject: U8500: Generic display driver This patch introduces combined DSI and DPI display support for u-boot. The code is also similar to the kernel code for easy maintenance. ST-Ericsson ID: ER319241 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10069 Change-Id: Ic232b6f738348cbedb67e27418678ddd223d7800 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/11038 Reviewed-by: Jimmy RUBIN Reviewed-by: Michael BRANDT Tested-by: Torbjorn SVENSSON --- include/configs/u8500.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/configs/u8500.h b/include/configs/u8500.h index fb3614fd3..db48a51de 100644 --- a/include/configs/u8500.h +++ b/include/configs/u8500.h @@ -284,9 +284,15 @@ * Video Logo Related configs */ #define CONFIG_VIDEO_LOGO /* Enable startup logo */ +#define CONFIG_SYS_DISPLAY_DSI 1 +#define CONFIG_SYS_DISPLAY_DPI 0 #define CONFIG_SYS_VIDEO_FB_ADRS 0x14000000 -#define CONFIG_SYS_DISPLAY_NATIVE_X_RES 864 -#define CONFIG_SYS_DISPLAY_NATIVE_Y_RES 480 +#if CONFIG_SYS_DISPLAY_DPI +#define CONFIG_SYS_DISPLAY_NATIVE_X_RES 640 /* VGA */ +#else +#define CONFIG_SYS_DISPLAY_NATIVE_X_RES 864 /* HREF */ +#endif +#define CONFIG_SYS_DISPLAY_NATIVE_Y_RES 480 /* VGA + HREF */ /* 2.5V */ #define CONFIG_SYS_DISPLAY_VOLTAGE 2500000 #define MCDE_TOC_SPLASH_NAME "SPLASH" -- cgit v1.2.3