ArmPlatformPkg/LcdPlatformLib.h: Added support for 'WSXGA+ Mode: 1680 x 1050'
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 28 Sep 2012 11:11:00 +0000 (11:11 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 28 Sep 2012 11:11:00 +0000 (11:11 +0000)
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

ArmPlatformPkg/Include/Library/LcdPlatformLib.h

index 7a424c0..1112e1e 100644 (file)
@@ -25,8 +25,9 @@
 #define SVGA                              1\r
 #define XGA                               2\r
 #define SXGA                              3\r
-#define UXGA                              4\r
-#define HD                                5\r
+#define WSXGA                             4\r
+#define UXGA                              5\r
+#define HD                                6\r
 \r
 //\r
 // VGA Mode: 640 x 480\r
 #define SXGA_V_FRONT_PORCH                (  3 - 1)\r
 #define SXGA_V_BACK_PORCH                 ( 29 - 1)\r
 \r
+//\r
+// WSXGA+ Mode: 1680 x 1050\r
+//\r
+#define WSXGA_H_RES_PIXELS                1680\r
+#define WSXGA_V_RES_PIXELS                1050\r
+#define WSXGA_OSC_FREQUENCY               147000000  /* 0x08C30AC0 */\r
+\r
+#define WSXGA_H_SYNC                      (170 - 1)\r
+#define WSXGA_H_FRONT_PORCH               (104 - 1)\r
+#define WSXGA_H_BACK_PORCH                (274 - 1)\r
+\r
+#define WSXGA_V_SYNC                      (  5 - 1)\r
+#define WSXGA_V_FRONT_PORCH               (  4 - 1)\r
+#define WSXGA_V_BACK_PORCH                ( 41 - 1)\r
+\r
 //\r
 // UXGA Mode: 1600 x 1200\r
 //\r