From db2aba9854cb9897a66ed1068eeae1eeb892a3fe Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Thu, 25 Jan 2018 11:45:32 +0530 Subject: [PATCH] vendorcode/intel: Add Kconfig option to get UDK_VERSION This patch ensures if required SoC/FSP driver code can retrieve UDK version for a platform. Change-Id: I3120ce512255ed6f2a40413e8e6d8000c7285b39 Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/23374 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Furquan Shaikh --- src/vendorcode/intel/Kconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/vendorcode/intel/Kconfig b/src/vendorcode/intel/Kconfig index 63daf4e7ff..6c3cdad8b2 100644 --- a/src/vendorcode/intel/Kconfig +++ b/src/vendorcode/intel/Kconfig @@ -30,3 +30,23 @@ config UDK_2015_BINDING config UDK_2017_BINDING def_bool n + +config UDK_2013_VERSION + int + default 2013 + +config UDK_2015_VERSION + int + default 2015 + +config UDK_2017_VERSION + int + default 2017 + +config UDK_VERSION + int + default UDK_2017_VERSION if UDK_2017_BINDING + default UDK_2015_VERSION if UDK_2015_BINDING + default UDK_2013_VERSION + help + UEFI Development Kit version for Platform