]> xenbits.xensource.com Git - seabios.git/commitdiff
geodevga: fix wrong define name
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Thu, 14 Feb 2013 09:34:37 +0000 (10:34 +0100)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 16 Feb 2013 03:52:18 +0000 (22:52 -0500)
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
vgasrc/geodevga.c
vgasrc/geodevga.h

index 42e2eebbc82c52f68163ea4fcfab7a81a3a5f3d4..e508cbd8ead1817e67e708a57d13942f96d55666 100644 (file)
@@ -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);
 }
index 180bd05cd64a81b8a54d17ae5947db2401e05b69..067b4f8b0df6b28e5c48a956c3e303c92818ad98 100644 (file)
@@ -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)