1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 3 #ifndef _FSP_HEADER_H_ 4 #define _FSP_HEADER_H_ 5 6 /* 7 * Intel's code does not have a handle on changing global packing state. 8 * Therefore, one needs to protect against packing policies that are set 9 * globally for a compilation unit just by including a header file. 10 */ 11 #pragma pack(push) 12 /* Default bind edk2 UEFI 2.4 types. */ 13 #include <vendorcode/intel/edk2/uefi_2.4/uefi_types.h> 14 15 #if CONFIG_UDK_VERSION >= CONFIG_UDK_2017_VERSION 16 #include <vendorcode/intel/fsp/fsp2_0/IntelFspPkg/Include/FspInfoHeader.h> 17 #else 18 #include <vendorcode/intel/fsp/fsp1_1/IntelFspPkg/Include/FspInfoHeader.h> 19 #endif 20 #pragma pack(pop) 21 22 #endif /* _FSP_HEADER_H_ */ 23