vgabios: Add the geode GX2 functionality.
[seabios.git] / vgasrc / vgahw.h
index d34b0e75927e5e0fe250c1e62aaa3b02b8df4976..23b4f135b310e9c459c77081b2067b9ef80b8ac6 100644 (file)
@@ -7,7 +7,7 @@
 #include "clext.h" // clext_set_mode
 #include "bochsvga.h" // bochsvga_set_mode
 #include "stdvga.h" // stdvga_set_mode
-#include "geodelx.h" // geodelx_init
+#include "geodevga.h" // geodevga_init
 
 static inline int vgahw_set_mode(int mode, int flags) {
     if (CONFIG_VGA_CIRRUS)
@@ -22,8 +22,8 @@ static inline int vgahw_init(void) {
         return clext_init();
     if (CONFIG_VGA_BOCHS)
         return bochsvga_init();
-    if (CONFIG_VGA_GEODELX)
-        return geodelx_init();
+    if (CONFIG_VGA_GEODEGX2 || CONFIG_VGA_GEODELX)
+        return geodevga_init();
     return stdvga_init();
 }