diff options
author | Zheng Bao <fishbaozi@gmail.com> | 2021-08-12 16:30:19 +0800 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2021-09-15 16:50:44 +0000 |
commit | 535ec536ea288cfbbdaf0801be4215cdf0dd142f (patch) | |
tree | 3cb7f07a079a0189c5fcc567f937caae2e8626be | |
parent | b4f4477e2a9080093c4d23a84cf10632baa06a85 (diff) |
amdfwtool: Add new SOC mendocino
Change-Id: I54492600dd954a5585ce3b1d842d264a4a50907a
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56936
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
-rw-r--r-- | util/amdfwtool/amdfwtool.c | 6 |
1 files changed, 6 insertions, 0 deletions
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: |