summaryrefslogtreecommitdiff
path: root/src/device/Kconfig
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2014-10-17 13:08:36 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2014-10-17 14:36:53 +0200
commit58470e39b3958292e112e13251c5c811409a7a02 (patch)
treedfe00950b30022cf84699d2452b45786c98d2a4f /src/device/Kconfig
parent06c788db1ac6fd1faa1de67d4c0ddd03f3dbdbbe (diff)
Kconfig: clean up options in top level and device menu
Move generic options to the "General Setup" menu. Move device specific options to the "Devices" menu. Change-Id: I514a021305d43f026b24fd3016477300700ed401 Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: http://review.coreboot.org/7089 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/device/Kconfig')
-rw-r--r--src/device/Kconfig93
1 files changed, 43 insertions, 50 deletions
diff --git a/src/device/Kconfig b/src/device/Kconfig
index 58dcc1b8d6..bd2f34b618 100644
--- a/src/device/Kconfig
+++ b/src/device/Kconfig
@@ -282,9 +282,21 @@ config EARLY_PCI_MMIO_BASE
endif # EARLY_PCI_BRIDGE
-endmenu
+config SUBSYSTEM_VENDOR_ID
+ hex "Override PCI Subsystem Vendor ID"
+ depends on PCI
+ default "0x0000"
+ help
+ This config option will override the devicetree settings for
+ PCI Subsystem Vendor ID.
-menu "VGA BIOS"
+config SUBSYSTEM_DEVICE_ID
+ hex "Override PCI Subsystem Device ID"
+ depends on PCI
+ default "0x0000"
+ help
+ This config option will override the devicetree settings for
+ PCI Subsystem Device ID.
config VGA_BIOS
bool "Add a VGA BIOS image"
@@ -335,6 +347,35 @@ config MBI_FILE
help
The path and filename of the file to use as VGA BIOS.
+config PXE_ROM
+ bool "Add a PXE ROM image"
+ help
+ Select this option if you have a PXE ROM image that you would
+ like to add to your ROM.
+
+config PXE_ROM_FILE
+ string "PXE ROM filename"
+ depends on PXE_ROM
+ default "pxe.rom"
+ help
+ The path and filename of the file to use as PXE ROM.
+
+config PXE_ROM_ID
+ string "network card PCI IDs"
+ depends on PXE_ROM
+ default "10ec,8168"
+ help
+ The comma-separated PCI vendor and device ID that would associate
+ your PXE ROM to your network card.
+
+ Example: 10ec,8168
+
+ In the above example 10ec is the PCI vendor ID (in hex, but without
+ the "0x" prefix) and 8168 specifies the PCI device ID of the
+ network card (also in hex, without "0x" prefix).
+
+ Under GNU/Linux you can run `lspci -nn` to list the IDs of your PCI devices.
+
endmenu
menu "Display"
@@ -510,51 +551,3 @@ config BOOTSPLASH_FILE
screen. The file format has to be jpg.
endmenu
-
-menu "PXE ROM"
-config PXE_ROM
- bool "Add a PXE ROM image"
- help
- Select this option if you have a PXE ROM image that you would
- like to add to your ROM.
-
-config PXE_ROM_FILE
- string "PXE ROM filename"
- depends on PXE_ROM
- default "pxe.rom"
- help
- The path and filename of the file to use as PXE ROM.
-
-config PXE_ROM_ID
- string "network card PCI IDs"
- depends on PXE_ROM
- default "10ec,8168"
- help
- The comma-separated PCI vendor and device ID that would associate
- your PXE ROM to your network card.
-
- Example: 10ec,8168
-
- In the above example 10ec is the PCI vendor ID (in hex, but without
- the "0x" prefix) and 8168 specifies the PCI device ID of the
- network card (also in hex, without "0x" prefix).
-
- Under GNU/Linux you can run `lspci -nn` to list the IDs of your PCI devices.
-
-endmenu
-
-config SUBSYSTEM_VENDOR_ID
- hex "Override PCI Subsystem Vendor ID"
- depends on PCI
- default "0x0000"
- help
- This config option will override the devicetree settings for
- PCI Subsystem Vendor ID.
-
-config SUBSYSTEM_DEVICE_ID
- hex "Override PCI Subsystem Device ID"
- depends on PCI
- default "0x0000"
- help
- This config option will override the devicetree settings for
- PCI Subsystem Device ID.