aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2013-02-14 10:34:37 +0100
committerKevin O'Connor <kevin@koconnor.net>2013-02-15 22:52:18 -0500
commit1337eb38bf45ed8ebb0943d7ac81d9b3d332b044 (patch)
treeeaa934f3543d0b2fc301b3bc6bb409f4bd43aff2
parent0f5628d1645a49c12284a2744ac99bfc86c1f0b0 (diff)
downloadseabios-1337eb38bf45ed8ebb0943d7ac81d9b3d332b044.tar.gz
geodevga: fix wrong define name
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
-rw-r--r--vgasrc/geodevga.c2
-rw-r--r--vgasrc/geodevga.h2
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)