summaryrefslogtreecommitdiff
path: root/src/vendorcode/amd
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2020-07-20 22:45:48 +0200
committerFelix Held <felix-coreboot@felixheld.de>2020-07-22 11:53:12 +0000
commit973b2aaa2424757649c32df7084c9eb9d070e539 (patch)
tree02ce5edf2b27d25ebbb9cb6f817d7ad58dda541d /src/vendorcode/amd
parent8d5cedf0463fc9450966b8326bbdbbf62fbb4b2d (diff)
downloadcoreboot-973b2aaa2424757649c32df7084c9eb9d070e539.tar.xz
vc/amd/fsp/picasso: mark remaining UPD header structs as __packed
Change-Id: I5a97de69bfda201e039587c67037bfb93ca16c15 Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43658 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/vendorcode/amd')
-rw-r--r--src/vendorcode/amd/fsp/picasso/fsp_h_c99.h4
1 files changed, 2 insertions, 2 deletions
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;