diff options
-rw-r--r-- | src/soc/amd/common/block/include/amdblocks/psp_efs.h | 4 | ||||
-rw-r--r-- | src/soc/amd/common/block/psp/psp_efs.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/amd/common/block/include/amdblocks/psp_efs.h b/src/soc/amd/common/block/include/amdblocks/psp_efs.h index c5c13a2837..1a6059a1be 100644 --- a/src/soc/amd/common/block/include/amdblocks/psp_efs.h +++ b/src/soc/amd/common/block/include/amdblocks/psp_efs.h @@ -30,7 +30,7 @@ struct second_gen_efs { /* todo: expand for Server products */ } __attribute__((packed)); /* Copied from coreboot/util/amdfwtool.h */ -typedef struct _embedded_firmware { +struct embedded_firmware { uint32_t signature; /* 0x55aa55aa */ uint32_t imc_entry; uint32_t gec_entry; @@ -60,7 +60,7 @@ typedef struct _embedded_firmware { uint8_t reserved_4Ah; uint8_t reserved_4Bh; uint32_t reserved_4Ch; -} __attribute__((packed, aligned(16))) embedded_firmware; +} __attribute__((packed, aligned(16))); bool efs_is_valid(void); bool read_efs_spi_settings(uint8_t *mode, uint8_t *speed); diff --git a/src/soc/amd/common/block/psp/psp_efs.c b/src/soc/amd/common/block/psp/psp_efs.c index 5814f48c63..feb0276463 100644 --- a/src/soc/amd/common/block/psp/psp_efs.c +++ b/src/soc/amd/common/block/psp/psp_efs.c @@ -6,7 +6,7 @@ #include <commonlib/region.h> #include <types.h> -static struct _embedded_firmware *efs; +static struct embedded_firmware *efs; bool efs_is_valid(void) { |