From dc781d3a83c53cdf728d281872ad3f359acacf13 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Mon, 1 Apr 2024 17:45:54 +0000 Subject: vc/intel/edk2: Define FSP_SIG macro for FSP 2.x compatibility This patch introduces the FSP_SIG macro into EDK2 headers to ensure compilation compatibility when using FSP 2.x specifications. Previously, the macro was only defined for FSP 1.1. BUG=b:242829490 TEST=Successful build of google/rex0 with 64-bit FSP. Change-Id: I4f97fc303ca2881ccd17b4d149d01c3b671dbbde Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/81622 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans Reviewed-by: Varshit Pandya Reviewed-by: Ronak Kanabar --- .../intel/edk2/UDK2017/IntelFsp2Pkg/Include/Guid/FspHeaderFile.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vendorcode/intel/edk2/UDK2017') diff --git a/src/vendorcode/intel/edk2/UDK2017/IntelFsp2Pkg/Include/Guid/FspHeaderFile.h b/src/vendorcode/intel/edk2/UDK2017/IntelFsp2Pkg/Include/Guid/FspHeaderFile.h index 472880f0c6..ceeeede440 100644 --- a/src/vendorcode/intel/edk2/UDK2017/IntelFsp2Pkg/Include/Guid/FspHeaderFile.h +++ b/src/vendorcode/intel/edk2/UDK2017/IntelFsp2Pkg/Include/Guid/FspHeaderFile.h @@ -30,6 +30,8 @@ #define FSP_INFO_HEADER_SIGNATURE SIGNATURE_32 ('F', 'S', 'P', 'H') +#define FSP_SIG 0x48505346 /* 'FSPH' */ + #pragma pack(1) /// -- cgit v1.2.3