summaryrefslogtreecommitdiff
path: root/src/vendorcode/intel/edk2/UDK2017
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2024-04-01 17:45:54 +0000
committerSubrata Banik <subratabanik@google.com>2024-04-04 06:28:38 +0000
commitdc781d3a83c53cdf728d281872ad3f359acacf13 (patch)
tree23ca8dcca1b8a3d7c0e4c0d945837696b760943e /src/vendorcode/intel/edk2/UDK2017
parent20dd04872fb902658560fbb0c70d2030c8ead453 (diff)
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 <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81622 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Varshit Pandya <pandyavarshit@gmail.com> Reviewed-by: Ronak Kanabar <ronak.kanabar@intel.com>
Diffstat (limited to 'src/vendorcode/intel/edk2/UDK2017')
-rw-r--r--src/vendorcode/intel/edk2/UDK2017/IntelFsp2Pkg/Include/Guid/FspHeaderFile.h2
1 files changed, 2 insertions, 0 deletions
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)
///