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:
parent
8d5cedf046
commit
973b2aaa24
|
@ -27,7 +27,7 @@ typedef enum {
|
||||||
EnumInitPhaseEndOfFirmware = 0xF0
|
EnumInitPhaseEndOfFirmware = 0xF0
|
||||||
} FSP_INIT_PHASE;
|
} FSP_INIT_PHASE;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct __packed {
|
||||||
uint64_t Signature;
|
uint64_t Signature;
|
||||||
uint8_t Revision;
|
uint8_t Revision;
|
||||||
uint8_t Reserved[23];
|
uint8_t Reserved[23];
|
||||||
|
@ -35,7 +35,7 @@ typedef struct {
|
||||||
|
|
||||||
_Static_assert(sizeof(FSP_UPD_HEADER) == 32, "FSP_UPD_HEADER not packed");
|
_Static_assert(sizeof(FSP_UPD_HEADER) == 32, "FSP_UPD_HEADER not packed");
|
||||||
|
|
||||||
typedef struct {
|
typedef struct __packed {
|
||||||
uint8_t Revision;
|
uint8_t Revision;
|
||||||
uint8_t Reserved[3];
|
uint8_t Reserved[3];
|
||||||
void *NvsBufferPtr;
|
void *NvsBufferPtr;
|
||||||
|
|
Loading…
Reference in New Issue