vgabios: Move vgabios Kconfig definitions to vgasrc/Kconfig.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 15 Jan 2012 07:01:24 +0000 (02:01 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Mon, 16 Jan 2012 17:02:39 +0000 (12:02 -0500)
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/Kconfig
vgasrc/Kconfig [new file with mode: 0644]

index 4b72bd1c65c4c9361b0199018bef40b93c5d873c..427001457e27afeb9a340bc2bcc47186c6dc5452 100644 (file)
@@ -324,84 +324,7 @@ menu "BIOS Tables"
             Support generation of ACPI tables.
 endmenu
 
-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 VGA_BOCHS
-            bool "Bochs DISPI interface VGA BIOS"
-            help
-                Build support for Bochs DISPI interface.
-
-        config VGA_GEODEGX2
-            bool "GeodeGX2 interface VGA BIOS"
-            help
-                Build support for Geode GX2 vga.
-
-        config VGA_GEODELX
-            bool "GeodeLX interface VGA BIOS"
-            help
-                Build support for Geode LX vga.
-    endchoice
-
-    config BUILD_VGABIOS
-        bool
-        default !NO_VGABIOS
-
-    config VGA_PCI
-        depends on BUILD_VGABIOS
-        bool "PCI ROM Headers"
-        default y
-        help
-            Build PCI ROM headers so the vga rom can be extracted from
-            a PCI device.
-
-    config OVERRIDE_PCI_ID
-        depends on VGA_PCI
-        bool "Override PCI Vendor and Device IDs"
-        help
-            Specify specific values for the PCI Vendor and Device IDs.
-
-    config VGA_VID
-        depends on VGA_PCI
-        hex
-        prompt "PCI Vendor ID" if OVERRIDE_PCI_ID
-        default 0x1013 if VGA_CIRRUS
-        default 0x1234 if VGA_BOCHS
-        default 0x100b if VGA_GEODEGX2
-        default 0x1022 if VGA_GEODELX
-        default 0x0000
-        help
-            Vendor ID for the PCI ROM
-
-    config VGA_DID
-        depends on VGA_PCI
-        hex
-        prompt "PCI Vendor ID" if OVERRIDE_PCI_ID
-        default 0x00b8 if VGA_CIRRUS
-        default 0x1111 if VGA_BOCHS
-        default 0x0030 if VGA_GEODEGX2
-        default 0x2081 if VGA_GEODELX
-        default 0x0000
-        help
-            Device ID for the PCI ROM
-endmenu
+source ../vgasrc/Kconfig
 
 menu "Debugging"
     config DEBUG_LEVEL
diff --git a/vgasrc/Kconfig b/vgasrc/Kconfig
new file mode 100644 (file)
index 0000000..f6dfa66
--- /dev/null
@@ -0,0 +1,80 @@
+# 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 VGA_BOCHS
+            bool "Bochs DISPI interface VGA BIOS"
+            help
+                Build support for Bochs DISPI interface.
+
+        config VGA_GEODEGX2
+            bool "GeodeGX2 interface VGA BIOS"
+            help
+                Build support for Geode GX2 vga.
+
+        config VGA_GEODELX
+            bool "GeodeLX interface VGA BIOS"
+            help
+                Build support for Geode LX vga.
+    endchoice
+
+    config BUILD_VGABIOS
+        bool
+        default !NO_VGABIOS
+
+    config VGA_PCI
+        depends on BUILD_VGABIOS
+        bool "PCI ROM Headers"
+        default y
+        help
+            Build PCI ROM headers so the vga rom can be extracted from
+            a PCI device.
+
+    config OVERRIDE_PCI_ID
+        depends on VGA_PCI
+        bool "Override PCI Vendor and Device IDs"
+        help
+            Specify specific values for the PCI Vendor and Device IDs.
+
+    config VGA_VID
+        depends on VGA_PCI
+        hex
+        prompt "PCI Vendor ID" if OVERRIDE_PCI_ID
+        default 0x1013 if VGA_CIRRUS
+        default 0x1234 if VGA_BOCHS
+        default 0x100b if VGA_GEODEGX2
+        default 0x1022 if VGA_GEODELX
+        default 0x0000
+        help
+            Vendor ID for the PCI ROM
+
+    config VGA_DID
+        depends on VGA_PCI
+        hex
+        prompt "PCI Vendor ID" if OVERRIDE_PCI_ID
+        default 0x00b8 if VGA_CIRRUS
+        default 0x1111 if VGA_BOCHS
+        default 0x0030 if VGA_GEODEGX2
+        default 0x2081 if VGA_GEODELX
+        default 0x0000
+        help
+            Device ID for the PCI ROM
+endmenu