From 6670f44cd0aec048ee881e8c9a38124cb44b2207 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Sun, 5 Apr 2020 22:28:15 -0500 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/40222 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Angel Pons --- payloads/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.