From 4386948569f18e38ecade813849e9e25e7e1c841 Mon Sep 17 00:00:00 2001 From: Ronak Kanabar Date: Mon, 21 Oct 2024 12:15:21 +0530 Subject: vendorcode/intel: Add edk2-stable202305 support Add edk2-stable202305 support for MTL and RPL FSPs. This patch includes (edk2/edk2-stable202302) all required headers for edk2-stable202302 EDK2 tag from EDK2 github project using below command: git clone -b edk2-stable202305 https://github.com/tianocore/edk2.git commit hash: ba91d0292e593df8528b66f99c1b0b14fadc8e16 Only include necessary header files. MdePkg/Include/Base.h was updated to avoid compilation errors through safeguarding definitions for MIN, MAX, NULL, ABS, ARRAY_SIZE. Add following fixes from older Edk2 060492ecd2 Safe guard enum macro in SmBios.h 2bf9599cf1 Use fixed size struct elements cf4c6fd225 Remove FSPM_ARCH_UPD config guard dc781d3a83 Define FSP_SIG macro for FSP 2.x compatibility d045074b91 Remove wchar_t asserts Change-Id: I96f0d0e393d31b325f9e42e3494556a2f6e1228e Signed-off-by: Ronak Kanabar Reviewed-on: https://review.coreboot.org/c/coreboot/+/84817 Tested-by: build bot (Jenkins) Reviewed-by: Karthik Ramasubramanian --- src/vendorcode/intel/fsp/fsp2_0/IntelFspPkg/Include/FspInfoHeader.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vendorcode/intel/fsp') diff --git a/src/vendorcode/intel/fsp/fsp2_0/IntelFspPkg/Include/FspInfoHeader.h b/src/vendorcode/intel/fsp/fsp2_0/IntelFspPkg/Include/FspInfoHeader.h index 496b8d4572..0a8eb0acd5 100644 --- a/src/vendorcode/intel/fsp/fsp2_0/IntelFspPkg/Include/FspInfoHeader.h +++ b/src/vendorcode/intel/fsp/fsp2_0/IntelFspPkg/Include/FspInfoHeader.h @@ -11,6 +11,8 @@ #include #elif CONFIG_UDK_VERSION == CONFIG_UDK_202302_VERSION #include +#elif CONFIG_UDK_VERSION == CONFIG_UDK_202305_VERSION +#include #else #error "Unknown UDK_VESION!" #endif -- cgit v1.2.3