drivers/efi/fw_info: Select necessary UDK binding as needed

DRIVERS_EFI_FW_INFO 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

Change-Id: I27ab64ab0c9d4d45cc09061f6f8c3725c24df706
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/87409
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Matt DeVillier 2025-04-21 16:10:19 -05:00
commit 20ceed1929

View file

@ -9,7 +9,7 @@ config DRIVERS_EFI_VARIABLE_STORE
config DRIVERS_EFI_FW_INFO
bool "Expose firmware version in a EFI-friendly form"
depends on UDK_BASE
select UDK_2017_BINDING if !PLATFORM_USES_FSP2_0
help
Adds firmware version information to coreboot table in a form similar to
EFI System Resource Table (ESRT) that can be used for firmware updates.