From c0e3f6d1d20cc87d7d081606479c597bade4033b Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Mon, 21 Apr 2025 16:04:12 -0500 Subject: [PATCH] drivers/efi/variable_store: Select necessary UDK binding as needed DRIVERS_EFI_VARIABLE_STORE requires some Intel vendorcode headers which are selected by default on FSP 2.x platforms, but not by earlier ones. Select the oldest UDK binding for non-FSP 2.x boards, so that the required headers are available, rather than depending on UDK_BASE and requiring those boards to manually select the binding. TEST=build samsung/stumpy with EFI variable store support, without manually selecting UDK_2017_BINDING at the mainboard level. Change-Id: I099d3cc7690a0faecfe32a8bc814766c67c63fbb Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/87408 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/drivers/efi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/efi/Kconfig b/src/drivers/efi/Kconfig index 07e5f146a6..7969c6a2b4 100644 --- a/src/drivers/efi/Kconfig +++ b/src/drivers/efi/Kconfig @@ -2,7 +2,7 @@ config DRIVERS_EFI_VARIABLE_STORE bool "Include EFI variable store driver" - depends on UDK_BASE + select UDK_2017_BINDING if !PLATFORM_USES_FSP2_0 help Adds a driver that is able to read and write an EFI formatted VariableStore as used by tianocore.