Patchwork Move VGA BIOS settings from payload menu into a menu of it's own

login
register
about
Submitter Peter Stuge
Date 2009-09-17 06:40:39
Message ID <20090917064039.30879.qmail@stuge.se>
Download mbox | patch
Permalink /patch/263/
State Superseded
Headers show

Comments

Peter Stuge - 2009-09-17 06:40:39
Patch attached.


//Peter
Move VGA BIOS settings from payload menu into a menu of it's own.

Depending on PAYLOAD_ELF also stopped the config items from being shown.
Build tested, with this coreboot.rom correctly includes the VGA BIOS.

Signed-off-by: Peter Stuge <peter@stuge.se>

Patch

Index: src/Kconfig
===================================================================
--- src/Kconfig	(revision 4640)
+++ src/Kconfig	(working copy)
@@ -238,17 +238,6 @@ 
 
 	  You will be able to specify the location and file name of the
 	  payload image later.
-
-config VGA_BIOS
-	bool "Add a VGA BIOS image"
-	depends on PAYLOAD_ELF
-	help
-	  Select this option if you have a VGA BIOS image that you would
-	  like to add to your ROM.
-
-	  You will be able to specify the location and file name of the
-	  image later.
-
 config PAYLOAD_NONE
 	bool "No payload"
 	help
@@ -268,6 +257,30 @@ 
 	help
 	  The path and filename of the ELF executable file to use as payload.
 
+endmenu
+
+menu "VGA BIOS"
+
+choice
+	prompt "VGA BIOS"
+	default VGA_NONE
+
+config VGA_NONE
+	bool "None"
+	help
+	  Select this option if you don't want to include a VGA BIOS in
+	  the coreboot image.
+config VGA_BIOS
+	bool "Add a VGA BIOS image"
+	depends on PAYLOAD_ELF
+	help
+	  Select this option if you have a VGA BIOS image that you would
+	  like to add to your ROM.
+
+	  You will be able to specify the location and file name of the
+	  image later.
+endchoice
+
 config FALLBACK_VGA_BIOS_FILE
 	string "VGA BIOS path and filename"
 	depends on VGA_BIOS