From 698fa27e82e6f83467bb5bcc777741b10e674abb Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Mon, 1 Apr 2024 23:44:43 +0530 Subject: commonlib: Simplify FSP header inclusion Include `fsp_header.h` from vendorcode for dynamic FSP_INFO_HEADER selection. BUG=b:242829490 TEST=google/rex0 builds successfully with 64-bit FSP. Change-Id: If165e0517752f320d898cf82f298aa9f5699ae86 Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/81624 Reviewed-by: Arthur Heymans Tested-by: build bot (Jenkins) --- src/commonlib/fsp_relocate.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'src/commonlib') 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 #include #include -/* - * 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 -#include - -/* Restore original packing policy. */ -#pragma pack(pop) - #include #include #include #include +#include #define FSP_DBG_LVL BIOS_NEVER #define MASK_24BITS 0x00FFFFFF -- cgit v1.2.3