[SeaBIOS] [PATCH 3/8] Add some basic flat panel defines

Christian Gmeiner christian.gmeiner at gmail.com
Mon Oct 1 14:02:44 CEST 2012


Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
---
 vgasrc/geodevga.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/vgasrc/geodevga.h b/vgasrc/geodevga.h
index 0fc8cfe..8fee0a8 100644
--- a/vgasrc/geodevga.h
+++ b/vgasrc/geodevga.h
@@ -47,6 +47,11 @@
 #define VP_DCFG                         0x8
 #define VP_MISC                         0x50
 
+/* FP REG OFFSET */
+#define FP_PT1                          0x00
+#define FP_PT2                          0x08
+#define FP_PM                           0x10
+
 
 /* DC bits */
 #define DC_DISPLAY_CFG_VGAE             (1 << 7)
@@ -61,6 +66,10 @@
 #define VP_DCFG_CRT_SKEW                (1 << 16)
 #define VP_DCFG_BYP_BOTH                (1 << 0)
 
+/* FP bits */
+#define FP_PM_P                         (1 << 24)       /* panel power ctl */
+#define FP_PT2_SCRC                     (1 << 27)       /* panel shift clock retrace activity ctl  */
+
 /* Mask */
 #define DC_CFG_MSK                      0xf000a6
 
-- 
1.7.12.2.421.g261b511




More information about the SeaBIOS mailing list