From 973b2aaa2424757649c32df7084c9eb9d070e539 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Mon, 20 Jul 2020 22:45:48 +0200 Subject: vc/amd/fsp/picasso: mark remaining UPD header structs as __packed Change-Id: I5a97de69bfda201e039587c67037bfb93ca16c15 Signed-off-by: Felix Held Reviewed-on: https://review.coreboot.org/c/coreboot/+/43658 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/vendorcode/amd/fsp/picasso/fsp_h_c99.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vendorcode') diff --git a/src/vendorcode/amd/fsp/picasso/fsp_h_c99.h b/src/vendorcode/amd/fsp/picasso/fsp_h_c99.h index dc3f94608f..c477a4ff1f 100644 --- a/src/vendorcode/amd/fsp/picasso/fsp_h_c99.h +++ b/src/vendorcode/amd/fsp/picasso/fsp_h_c99.h @@ -27,7 +27,7 @@ typedef enum { EnumInitPhaseEndOfFirmware = 0xF0 } FSP_INIT_PHASE; -typedef struct { +typedef struct __packed { uint64_t Signature; uint8_t Revision; uint8_t Reserved[23]; @@ -35,7 +35,7 @@ typedef struct { _Static_assert(sizeof(FSP_UPD_HEADER) == 32, "FSP_UPD_HEADER not packed"); -typedef struct { +typedef struct __packed { uint8_t Revision; uint8_t Reserved[3]; void *NvsBufferPtr; -- cgit v1.2.3