summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-04-19 13:25:39 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-04-20 14:45:17 +0000
commit09667150bace18a7280facc8ff87f4dd7eb34285 (patch)
tree01794c01dbc4643f2cae5b66f1a6d38c3531fd77
parentf509b617b010f67cf2bc47e1eb03dff498980fcc (diff)
commonlib/coreboot_tables.h: Don't pack structs
Packing structs will result in unaligned sizes, possible causing problems for other entries. Change-Id: Ifb756ab4e3562512e1160224678a6de23f3b84ec Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63714 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/commonlib/include/commonlib/coreboot_tables.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commonlib/include/commonlib/coreboot_tables.h b/src/commonlib/include/commonlib/coreboot_tables.h
index 206ddb4558..7666588cf6 100644
--- a/src/commonlib/include/commonlib/coreboot_tables.h
+++ b/src/commonlib/include/commonlib/coreboot_tables.h
@@ -552,7 +552,7 @@ struct lb_tpm_physical_presence {
uint32_t ppi_address; /* Address of ACPI PPI communication buffer */
uint8_t tpm_version; /* 1: TPM1.2, 2: TPM2.0 */
uint8_t ppi_version; /* BCD encoded */
-} __packed;
+};
/*