summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2020-04-05 22:28:15 -0500
committerAngel Pons <th3fanbus@gmail.com>2020-04-09 15:27:30 +0000
commit6670f44cd0aec048ee881e8c9a38124cb44b2207 (patch)
tree5cf6f1c4f7559b097bd1a3dd2b26d945c6eeb671
parenta6cf8d6465f8424862736cb2105de85f80b7c65b (diff)
payloads/nvramcui: Select USE_OPTION_TABLE
nvramcui requires use of CMOS for NVRAM configuration, so depend on HAVE_OPTION_TABLE and select USE_OPTION_TABLE to ensure that nvramcui is actually functional when included in a build. Change-Id: I0595514f636b8ce67bbc789ecc96a93c99068c50 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40222 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--payloads/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/payloads/Kconfig b/payloads/Kconfig
index f85dce9175..cfb28d6e81 100644
--- a/payloads/Kconfig
+++ b/payloads/Kconfig
@@ -132,7 +132,8 @@ config MEMTEST_SECONDARY_PAYLOAD
config NVRAMCUI_SECONDARY_PAYLOAD
bool "Load nvramcui as a secondary payload"
default n
- depends on ARCH_X86
+ depends on ARCH_X86 && HAVE_OPTION_TABLE
+ select USE_OPTION_TABLE
help
nvramcui can be loaded as a secondary payload under SeaBIOS, GRUB,
or any other payload that can load additional payloads.