Kconfig: hide useless options on ARM.

Those options have no effect or lead to compile error on ARM due
to fundamental incompatibilities. Add proper "depends on" clauses
to hide them.

Change-Id: I860fbd331439c25efd8aa92023195fda3add2e2c
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: https://review.coreboot.org/13904
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
Vladimir Serbinenko 2016-03-04 09:20:20 +01:00
parent ab8f923f53
commit d51a0896c6
4 changed files with 9 additions and 0 deletions

View File

@ -155,6 +155,7 @@ config ID_SECTION_OFFSET
config COMPILE_IN_DSDT config COMPILE_IN_DSDT
bool "compile in DSDT and use that over DSDT in CBFS" bool "compile in DSDT and use that over DSDT in CBFS"
depends on HAVE_ACPI_TABLES
default n default n
# 64KiB default bootblock size when employing C_ENVIRONMENT_BOOTBLOCK. # 64KiB default bootblock size when employing C_ENVIRONMENT_BOOTBLOCK.

View File

@ -133,6 +133,7 @@ endif # CONSOLE_SERIAL
config SPKMODEM config SPKMODEM
bool "spkmodem (console on speaker) console output" bool "spkmodem (console on speaker) console output"
default n default n
depends on ARCH_X86
help help
Send coreboot debug output through speaker Send coreboot debug output through speaker
@ -150,12 +151,14 @@ config CONSOLE_USB
config ONBOARD_VGA_IS_PRIMARY config ONBOARD_VGA_IS_PRIMARY
bool "Use onboard VGA as primary video device" bool "Use onboard VGA as primary video device"
default n default n
depends on PCI
help help
If not selected, the last adapter found will be used. If not selected, the last adapter found will be used.
config CONSOLE_NE2K config CONSOLE_NE2K
bool "Network console over NE2000 compatible Ethernet adapter" bool "Network console over NE2000 compatible Ethernet adapter"
default n default n
depends on PCI
help help
Send coreboot debug output to a Ethernet console, it works Send coreboot debug output to a Ethernet console, it works
same way as Linux netconsole, packets are received to UDP same way as Linux netconsole, packets are received to UDP
@ -357,8 +360,10 @@ config POST_DEVICE_NONE
bool "None" bool "None"
config POST_DEVICE_LPC config POST_DEVICE_LPC
bool "LPC" bool "LPC"
depends on PCI
config POST_DEVICE_PCI_PCIE config POST_DEVICE_PCI_PCIE
bool "PCI/PCIe" bool "PCI/PCIe"
depends on PCI
endchoice endchoice
config POST_IO config POST_IO

View File

@ -303,6 +303,7 @@ config SUBSYSTEM_DEVICE_ID
config VGA_BIOS config VGA_BIOS
bool "Add a VGA BIOS image" bool "Add a VGA BIOS image"
depends on ARCH_X86
help help
Select this option if you have a VGA BIOS image that you would Select this option if you have a VGA BIOS image that you would
like to add to your ROM. like to add to your ROM.
@ -352,6 +353,7 @@ config MBI_FILE
config PXE_ROM config PXE_ROM
bool "Add a PXE ROM image" bool "Add a PXE ROM image"
depends on ARCH_X86
help help
Select this option if you have a PXE ROM image that you would Select this option if you have a PXE ROM image that you would
like to add to your ROM. like to add to your ROM.

View File

@ -1,6 +1,7 @@
config DRIVERS_SIL_3114 config DRIVERS_SIL_3114
bool "Silicon Image SIL3114" bool "Silicon Image SIL3114"
default n default n
depends on PCI
help help
It sets PCI class to IDE compatible native mode, allowing It sets PCI class to IDE compatible native mode, allowing
SeaBIOS, FILO etc... to boot from it. SeaBIOS, FILO etc... to boot from it.