summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/commonlib/fsp_relocate.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/commonlib/fsp_relocate.c b/src/commonlib/fsp_relocate.c
index 96d31b3ea6..f57e278cf0 100644
--- a/src/commonlib/fsp_relocate.c
+++ b/src/commonlib/fsp_relocate.c
@@ -4,24 +4,11 @@
#include <commonlib/endian.h>
#include <commonlib/fsp.h>
#include <inttypes.h>
-/*
- * Intel's code does not have a handle on changing global packing state.
- * Therefore, one needs to protect against packing policies that are set
- * globally for a compilation unit just by including a header file.
- */
-#pragma pack(push)
-
-/* Default bind FSP 1.1 API to edk2 UEFI 2.4 types. */
-#include <vendorcode/intel/edk2/uefi_2.4/uefi_types.h>
-#include <vendorcode/intel/fsp/fsp1_1/IntelFspPkg/Include/FspInfoHeader.h>
-
-/* Restore original packing policy. */
-#pragma pack(pop)
-
#include <commonlib/helpers.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
+#include <vendorcode/intel/fsp/fsp_header.h>
#define FSP_DBG_LVL BIOS_NEVER
#define MASK_24BITS 0x00FFFFFF