From df4d5485ffa04fb33853395f00731a8f09e19a80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=BBygowski?= Date: Thu, 6 Jul 2023 12:49:08 +0200 Subject: [PATCH] UefiPayloadPkg: Fix build with coreboot-sdk 2022-09-18_c8870b1334 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Build system complained on __packed redefinition and couldn't build the SerialDxe module. Signed-off-by: Michał Żygowski --- UefiPayloadPkg/Include/Coreboot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UefiPayloadPkg/Include/Coreboot.h b/UefiPayloadPkg/Include/Coreboot.h index a492f848450e..300e5bd044c3 100644 --- a/UefiPayloadPkg/Include/Coreboot.h +++ b/UefiPayloadPkg/Include/Coreboot.h @@ -297,6 +297,6 @@ struct cb_tpm_physical_presence { UINT32 ppi_address; /* Address of ACPI PPI communication buffer */ UINT8 tpm_version; /* 1: TPM1.2, 2: TPM2.0 */ UINT8 ppi_version; /* BCD encoded */ -} __packed; +} __attribute__((packed)); #endif // _COREBOOT_PEI_H_INCLUDED_