summaryrefslogtreecommitdiffstats
path: root/src/console/Kconfig
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2016-03-04 09:20:20 +0100
committerVladimir Serbinenko <phcoder@gmail.com>2016-03-05 00:56:36 +0100
commitd51a0896c6c0e995b6a60ee322e04d311bb4b031 (patch)
tree2ef47c4554daf07b7d775b90e450551c0e7c2e70 /src/console/Kconfig
parentab8f923f5372baeacbf1d97c2a44446b0f9d0ddd (diff)
downloadcoreboot-d51a0896c6c0e995b6a60ee322e04d311bb4b031.tar.gz
coreboot-d51a0896c6c0e995b6a60ee322e04d311bb4b031.tar.bz2
coreboot-d51a0896c6c0e995b6a60ee322e04d311bb4b031.zip
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>
Diffstat (limited to 'src/console/Kconfig')
-rw-r--r--src/console/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/console/Kconfig b/src/console/Kconfig
index 847d17e1eb9b..90fb426cee0d 100644
--- a/src/console/Kconfig
+++ b/src/console/Kconfig
@@ -133,6 +133,7 @@ endif # CONSOLE_SERIAL
config SPKMODEM
bool "spkmodem (console on speaker) console output"
default n
+ depends on ARCH_X86
help
Send coreboot debug output through speaker
@@ -150,12 +151,14 @@ config CONSOLE_USB
config ONBOARD_VGA_IS_PRIMARY
bool "Use onboard VGA as primary video device"
default n
+ depends on PCI
help
If not selected, the last adapter found will be used.
config CONSOLE_NE2K
bool "Network console over NE2000 compatible Ethernet adapter"
default n
+ depends on PCI
help
Send coreboot debug output to a Ethernet console, it works
same way as Linux netconsole, packets are received to UDP
@@ -357,8 +360,10 @@ config POST_DEVICE_NONE
bool "None"
config POST_DEVICE_LPC
bool "LPC"
+ depends on PCI
config POST_DEVICE_PCI_PCIE
bool "PCI/PCIe"
+ depends on PCI
endchoice
config POST_IO