[SeaBIOS] [PATCH 14/14] geodevga: fix wrong define name
Christian Gmeiner
christian.gmeiner at gmail.com
Fri Oct 5 18:21:35 CEST 2012
Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
---
vgasrc/geodevga.c | 2 +-
vgasrc/geodevga.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/vgasrc/geodevga.c b/vgasrc/geodevga.c
index 512184e..2b636f3 100644
--- a/vgasrc/geodevga.c
+++ b/vgasrc/geodevga.c
@@ -284,7 +284,7 @@ int geodevga_set_mode(struct vgamode_s *vmode_g, int flags)
dcfg |= DC_DISPLAY_CFG_GDEN; /* enable graphics */
dcfg |= DC_DISPLAY_CFG_TRUP; /* update working timing registers */
- gcfg |= DC_DISPLAY_CFG_VGAE; /* enable VGA */
+ gcfg |= DC_GENERAL_CFG_VGAE; /* enable VGA */
/* write main configuration register */
geode_dc_mask(DC_DISPLAY_CFG, ~DC_CFG_MSK, dcfg);
diff --git a/vgasrc/geodevga.h b/vgasrc/geodevga.h
index 5ab7119..15880dd 100644
--- a/vgasrc/geodevga.h
+++ b/vgasrc/geodevga.h
@@ -65,7 +65,7 @@
/* DC bits */
-#define DC_DISPLAY_CFG_VGAE (1 << 7)
+#define DC_GENERAL_CFG_VGAE (1 << 7)
#define DC_DISPLAY_CFG_GDEN (1 << 3)
#define DC_DISPLAY_CFG_TRUP (1 << 6)
--
1.7.12.2.421.g261b511
More information about the SeaBIOS
mailing list