summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2025-04-21 16:11:26 -0500
committerMatt DeVillier <matt.devillier@gmail.com>2025-04-23 14:17:59 +0000
commit936ca8404a8efd8936266241c4a62f8afda2876f (patch)
tree81ba003a1347a7b43dfdf174a25bc0a08768643d /src
parent20ceed192904542bbc6eb1729796681129bb67e1 (diff)
downloadcoreboot-936ca8404a8efd8936266241c4a62f8afda2876f.tar.gz
coreboot-936ca8404a8efd8936266241c4a62f8afda2876f.tar.bz2
coreboot-936ca8404a8efd8936266241c4a62f8afda2876f.zip
drivers/option/cfr: Select EFI variable store when edk2 payload used
Since CFR options require a backend to store the keys/values, select DRIVERS_EFI_VARIABLE_STORE when edk2 is used as the payload and SMMSTORE is enabled, so that boards only need to select DRIVERS_OPTION_CFR in order to have a fully-functioning configuration setup. TEST=build samsung/stumpy with DRIVERS_OPTION_CFR selected and edk2 payload used. Change-Id: Ib8565e4fefb1b3f05e58ab039be8ab0d1bc046f1 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/87410 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/option/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/option/Kconfig b/src/drivers/option/Kconfig
index 6c63bb49b03d..2d005cc11f7d 100644
--- a/src/drivers/option/Kconfig
+++ b/src/drivers/option/Kconfig
@@ -3,4 +3,5 @@ config DRIVERS_OPTION_CFR_ENABLED
config DRIVERS_OPTION_CFR
bool "Support generating a CFR list of options"
+ select DRIVERS_EFI_VARIABLE_STORE if PAYLOAD_EDK2 && SMMSTORE
default y if DRIVERS_OPTION_CFR_ENABLED