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 <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/87408
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Matt DeVillier 2025-04-21 16:04:12 -05:00
commit c0e3f6d1d2

View file

@ -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.