summaryrefslogtreecommitdiff
path: root/ArmPlatformPkg/Include
diff options
context:
space:
mode:
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2012-09-28 11:11:00 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2012-09-28 11:11:00 +0000
commitbeeb44f42559ec9206e905811123a0a1665c4b36 (patch)
treea48f4a9785212a0bf2a56255d1d93b4c81f0c52b /ArmPlatformPkg/Include
parent295c2eb804d7cafd4b66b26fe493746eb6c76fa1 (diff)
downloadedk2-platforms-beeb44f42559ec9206e905811123a0a1665c4b36.tar.xz
ArmPlatformPkg/LcdPlatformLib.h: Added support for 'WSXGA+ Mode: 1680 x 1050'
Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13776 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPlatformPkg/Include')
-rw-r--r--ArmPlatformPkg/Include/Library/LcdPlatformLib.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/ArmPlatformPkg/Include/Library/LcdPlatformLib.h b/ArmPlatformPkg/Include/Library/LcdPlatformLib.h
index 7a424c0ad7..1112e1edd1 100644
--- a/ArmPlatformPkg/Include/Library/LcdPlatformLib.h
+++ b/ArmPlatformPkg/Include/Library/LcdPlatformLib.h
@@ -25,8 +25,9 @@
#define SVGA 1
#define XGA 2
#define SXGA 3
-#define UXGA 4
-#define HD 5
+#define WSXGA 4
+#define UXGA 5
+#define HD 6
//
// VGA Mode: 640 x 480
@@ -89,6 +90,21 @@
#define SXGA_V_BACK_PORCH ( 29 - 1)
//
+// WSXGA+ Mode: 1680 x 1050
+//
+#define WSXGA_H_RES_PIXELS 1680
+#define WSXGA_V_RES_PIXELS 1050
+#define WSXGA_OSC_FREQUENCY 147000000 /* 0x08C30AC0 */
+
+#define WSXGA_H_SYNC (170 - 1)
+#define WSXGA_H_FRONT_PORCH (104 - 1)
+#define WSXGA_H_BACK_PORCH (274 - 1)
+
+#define WSXGA_V_SYNC ( 5 - 1)
+#define WSXGA_V_FRONT_PORCH ( 4 - 1)
+#define WSXGA_V_BACK_PORCH ( 41 - 1)
+
+//
// UXGA Mode: 1600 x 1200
//
#define UXGA_H_RES_PIXELS 1600