[SeaBIOS] [PATCH] geodevga: fix wrong define name
Christian Gmeiner
christian.gmeiner at gmail.com
Thu Feb 14 10:34:33 CET 2013
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 42e2eeb..e508cbd 100644
--- a/vgasrc/geodevga.c
+++ b/vgasrc/geodevga.c
@@ -258,7 +258,7 @@ static void dc_setup(void)
geode_dc_write(DC_CURS_ST_OFFSET, 0x0);
geode_dc_mask(DC_DISPLAY_CFG, ~DC_CFG_MSK, DC_DISPLAY_CFG_GDEN|DC_DISPLAY_CFG_TRUP);
- geode_dc_write(DC_GENERAL_CFG, DC_DISPLAY_CFG_VGAE);
+ geode_dc_write(DC_GENERAL_CFG, DC_GENERAL_CFG_VGAE);
geode_dc_write(DC_UNLOCK, DC_LOCK_LOCK);
}
diff --git a/vgasrc/geodevga.h b/vgasrc/geodevga.h
index 180bd05..067b4f8 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