[SeaBIOS] [PATCH 4/7] vga: adapt kconfig

Gerd Hoffmann kraxel at redhat.com
Mon Feb 6 15:51:40 CET 2012


With support for multiple vga hardware types being selectable
it isn't a choice any more.

Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
---
 vgasrc/Kconfig |   61 ++++++++++++++++++++++++-------------------------------
 1 files changed, 27 insertions(+), 34 deletions(-)

diff --git a/vgasrc/Kconfig b/vgasrc/Kconfig
index 881e9ec..fc7fec4 100644
--- a/vgasrc/Kconfig
+++ b/vgasrc/Kconfig
@@ -1,44 +1,37 @@
 # Kconfig SeaBIOS VGA BIOS configuration
 
 menu "VGA ROM"
-    choice
-        prompt "VGA Hardware Type"
-        default NO_VGABIOS
-
-        config NO_VGABIOS
-            bool "None"
-            help
-                Do not build a VGA BIOS.
-
-        config VGA_STANDARD_VGA
-            bool "Standard VGA"
-            help
-                Build basic VGA BIOS support.
-
-        config VGA_CIRRUS
-            bool "QEMU Cirrus CLGD 54xx VGA BIOS"
-            help
-                Build support for Cirrus VGA emulation.
+    config BUILD_VGABIOS
+        bool "Build vgabios"
+        default !COREBOOT
 
-        config VGA_BOCHS
-            bool "Bochs DISPI interface VGA BIOS"
-            help
-                Build support for Bochs DISPI interface.
+    config VGA_CIRRUS
+        bool "QEMU Cirrus CLGD 54xx support"
+        depends on BUILD_VGABIOS
+        default !COREBOOT
+        help
+            Build support for Cirrus VGA emulation.
 
-        config VGA_GEODEGX2
-            bool "GeodeGX2 interface VGA BIOS"
-            help
-                Build support for Geode GX2 vga.
+    config VGA_BOCHS
+        bool "Bochs DISPI interface support"
+        depends on BUILD_VGABIOS
+        default !COREBOOT
+        help
+            Build support for Bochs DISPI interface.
 
-        config VGA_GEODELX
-            bool "GeodeLX interface VGA BIOS"
-            help
-                Build support for Geode LX vga.
-    endchoice
+    config VGA_GEODEGX2
+        bool "GeodeGX2 interface support"
+        depends on BUILD_VGABIOS
+        default n
+        help
+            Build support for Geode GX2 vga.
 
-    config BUILD_VGABIOS
-        bool
-        default !NO_VGABIOS
+    config VGA_GEODELX
+        bool "GeodeLX interface support"
+        depends on BUILD_VGABIOS
+        default n
+        help
+            Build support for Geode LX vga.
 
     config VGA_VBE
         depends on BUILD_VGABIOS
-- 
1.7.1




More information about the SeaBIOS mailing list