Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/59985 )
Change subject: vendorcode/intel: Rework UDK binding Kconfig ......................................................................
vendorcode/intel: Rework UDK binding Kconfig
coreboot code currently supports different UDK binding as per underlying FSP requirement, example: ICL and TGL uses UDK_2017_BINDING while ADL uses UDK_202005_BINDING Kconfig.
These UDK binding Kconfigs are being used to choose the correct UDK_VERSION.
This patch introduces `UDK_BASE` Kconfig option so UDK_VERSION if clause don't need to add specific UDK binding Kconfig everytime with introduction of newer UDK bindings in future.
Tested with BUILD_TIMELESS=1, Hatch remains identical.
Change-Id: I64c51aa06a14f0ce541537363870ac3925b79a68 Signed-off-by: Subrata Banik subi.banik@gmail.com --- M src/vendorcode/intel/Kconfig 1 file changed, 8 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/85/59985/1
diff --git a/src/vendorcode/intel/Kconfig b/src/vendorcode/intel/Kconfig index 6b7e495..87ef04e 100644 --- a/src/vendorcode/intel/Kconfig +++ b/src/vendorcode/intel/Kconfig @@ -1,18 +1,25 @@ ## SPDX-License-Identifier: GPL-2.0-only
+config UEFI_BINDING_BASE + def_bool n + config UEFI_2_4_BINDING def_bool n + select UEFI_BINDING_BASE
config UDK_2015_BINDING def_bool n + select UEFI_BINDING_BASE
config UDK_2017_BINDING def_bool n + select UEFI_BINDING_BASE
config UDK_202005_BINDING def_bool n + select UEFI_BINDING_BASE
-if (UEFI_2_4_BINDING || UDK_2015_BINDING || UDK_2017_BINDING || UDK_202005_BINDING) +if UEFI_BINDING_BASE config UDK_2013_VERSION int default 2013