summaryrefslogtreecommitdiff
path: root/src/vendorcode
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2018-01-25 11:45:32 +0530
committerSubrata Banik <subrata.banik@intel.com>2018-01-31 05:56:27 +0000
commitdb2aba9854cb9897a66ed1068eeae1eeb892a3fe (patch)
tree56dc64daaa5116b601ef2a14ed071ac29297249e /src/vendorcode
parent74558813c020cafb9c10894881795b67d4dfb6c8 (diff)
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 <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/23374 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/vendorcode')
-rw-r--r--src/vendorcode/intel/Kconfig20
1 files changed, 20 insertions, 0 deletions
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