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>
This commit is contained in:
Felix Held 2020-07-20 22:45:48 +02:00
parent 8d5cedf046
commit 973b2aaa24
1 changed files with 2 additions and 2 deletions

View File

@ -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;