summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTorbjorn Svensson <torbjorn.x.svensson@stericsson.com>2010-12-15 12:05:18 +0100
committerMichael BRANDT <michael.brandt@stericsson.com>2011-01-18 09:07:11 +0100
commit80c29457c21dbe1f9994bf2d173c329cf3c7227a (patch)
tree9c3ca1b1f6a9944fdae53e29d14c6950a39307b1 /include
parentc6458cdfa19cb2fdc37febf8341efcc5fb023bbf (diff)
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 <jimmy.rubin@stericsson.com> Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com> Tested-by: Torbjorn SVENSSON <torbjorn.x.svensson@stericsson.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/u8500.h10
1 files changed, 8 insertions, 2 deletions
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"