Felix Held submitted this change.
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>
---
M src/vendorcode/amd/fsp/picasso/fsp_h_c99.h
1 file 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 dc3f946..c477a4f 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 @@
EnumInitPhaseEndOfFirmware = 0xF0
} FSP_INIT_PHASE;
-typedef struct {
+typedef struct __packed {
uint64_t Signature;
uint8_t Revision;
uint8_t Reserved[23];
@@ -35,7 +35,7 @@
_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;
To view, visit change 43658. To unsubscribe, or for help writing mail filters, visit settings.