From 535ec536ea288cfbbdaf0801be4215cdf0dd142f Mon Sep 17 00:00:00 2001 From: Zheng Bao Date: Thu, 12 Aug 2021 16:30:19 +0800 Subject: amdfwtool: Add new SOC mendocino Change-Id: I54492600dd954a5585ce3b1d842d264a4a50907a Signed-off-by: Zheng Bao Reviewed-on: https://review.coreboot.org/c/coreboot/+/56936 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- util/amdfwtool/amdfwtool.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'util/amdfwtool') diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c index 1c662bedfc..57c67f0760 100644 --- a/util/amdfwtool/amdfwtool.c +++ b/util/amdfwtool/amdfwtool.c @@ -1144,6 +1144,7 @@ enum platform { PLATFORM_PICASSO, PLATFORM_RENOIR, PLATFORM_CEZANNE, + PLATFORM_MENDOCINO, PLATFORM_LUCIENNE, }; @@ -1181,6 +1182,7 @@ static int set_efs_table(uint8_t soc_id, embedded_firmware *amd_romsig, case PLATFORM_RENOIR: case PLATFORM_LUCIENNE: case PLATFORM_CEZANNE: + case PLATFORM_MENDOCINO: amd_romsig->efs_gen.gen = EFS_SECOND_GEN; amd_romsig->spi_readmode_f17_mod_30_3f = efs_spi_readmode; amd_romsig->spi_fastspeed_f17_mod_30_3f = efs_spi_speed; @@ -1217,6 +1219,8 @@ static int identify_platform(char *soc_name) return PLATFORM_PICASSO; else if (!strcasecmp(soc_name, "Cezanne")) return PLATFORM_CEZANNE; + else if (!strcasecmp(soc_name, "Mendocino")) + return PLATFORM_MENDOCINO; else if (!strcasecmp(soc_name, "Renoir")) return PLATFORM_RENOIR; else if (!strcasecmp(soc_name, "Lucienne")) @@ -1618,6 +1622,8 @@ int main(int argc, char **argv) case PLATFORM_CEZANNE: amd_romsig->bios3_entry = BUFF_TO_RUN(ctx, biosdir); break; + case PLATFORM_MENDOCINO: + break; case PLATFORM_STONEYRIDGE: case PLATFORM_RAVEN: case PLATFORM_PICASSO: -- cgit v1.2.3