From 936ca8404a8efd8936266241c4a62f8afda2876f Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Mon, 21 Apr 2025 16:11:26 -0500 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/87410 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/drivers/option/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/drivers/option/Kconfig b/src/drivers/option/Kconfig index 6c63bb49b0..2d005cc11f 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