Attention is currently required from: Zheng Bao.
Hello Zheng Bao,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/69046
to review the following change.
Change subject: amdfwtool: Add new family morgana ......................................................................
amdfwtool: Add new family morgana
Change-Id: Ib82f6c03b93d277f3f7f27ce57c1a41fdc103575 Signed-off-by: Zheng Bao fishbaozi@gmail.com --- M util/amdfwtool/amdfwtool.c 1 file changed, 17 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/46/69046/1
diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c index 5ac52a9..933fb34 100644 --- a/util/amdfwtool/amdfwtool.c +++ b/util/amdfwtool/amdfwtool.c @@ -673,6 +673,9 @@ case PLATFORM_STONEYRIDGE: psp_id = 0x10220B00; break; + case PLATFORM_MORGANA: + psp_id = 0xBC0E0200; + break; default: psp_id = 0; break; @@ -1913,6 +1916,7 @@ case PLATFORM_LUCIENNE: case PLATFORM_CEZANNE: case PLATFORM_MENDOCINO: + case PLATFORM_MORGANA: amd_romsig->spi_readmode_f17_mod_30_3f = efs_spi_readmode; amd_romsig->spi_fastspeed_f17_mod_30_3f = efs_spi_speed; switch (efs_spi_micron_flag) { @@ -1931,7 +1935,6 @@ } break; /* TODO: Update for morgana and glinda */ - case PLATFORM_MORGANA: case PLATFORM_GLINDA: break; case PLATFORM_UNKNOWN: @@ -1969,7 +1972,7 @@
static bool needs_ish(enum platform platform_type) { - if (platform_type == PLATFORM_MENDOCINO) + if (platform_type == PLATFORM_MENDOCINO || platform_type == PLATFORM_MORGANA) return true; else return false; @@ -1986,6 +1989,7 @@ case PLATFORM_LUCIENNE: case PLATFORM_CEZANNE: case PLATFORM_MENDOCINO: + case PLATFORM_MORGANA: return true; case PLATFORM_UNKNOWN: default: @@ -2478,6 +2482,7 @@ amd_romsig->bios3_entry = BUFF_TO_RUN(ctx, biosdir); break; case PLATFORM_MENDOCINO: + case PLATFORM_MORGANA: break; case PLATFORM_STONEYRIDGE: case PLATFORM_RAVEN: