util/amdfwtool: add support for Strix Halo SoC
For amdfwtool, the Strix Halo SoC is similar to the Glinda SoC. Main difference is the ISH PSP ID which was taken from the ISH table from the UEFI reference implementation. Change-Id: I6262dc8d72144ccdcd814586ef72684c15d3561d Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/91638 Reviewed-by: Ritul Guru <rguru@amd.com> Reviewed-by: Alicja Michalska <ahplka19@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
391d5f3cb4
commit
5d6061d0ba
4 changed files with 14 additions and 1 deletions
|
|
@ -119,6 +119,8 @@ static enum platform identify_platform(char *soc_name)
|
|||
return PLATFORM_GENOA;
|
||||
else if (!strcasecmp(soc_name, "Faegan"))
|
||||
return PLATFORM_FAEGAN;
|
||||
else if (!strcasecmp(soc_name, "Strixhalo"))
|
||||
return PLATFORM_STRIXHALO;
|
||||
else
|
||||
return PLATFORM_UNKNOWN;
|
||||
}
|
||||
|
|
@ -791,7 +793,8 @@ static uint8_t process_one_line(char *oneline, regmatch_t *match, char *dir,
|
|||
static bool needs_ish(enum platform platform_type)
|
||||
{
|
||||
if (platform_type == PLATFORM_MENDOCINO || platform_type == PLATFORM_PHOENIX ||
|
||||
platform_type == PLATFORM_GLINDA || platform_type == PLATFORM_FAEGAN)
|
||||
platform_type == PLATFORM_GLINDA || platform_type == PLATFORM_FAEGAN ||
|
||||
platform_type == PLATFORM_STRIXHALO)
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
|
|
@ -818,6 +821,7 @@ static bool is_second_gen(enum platform platform_type)
|
|||
case PLATFORM_GLINDA:
|
||||
case PLATFORM_GENOA:
|
||||
case PLATFORM_FAEGAN:
|
||||
case PLATFORM_STRIXHALO:
|
||||
return true;
|
||||
case PLATFORM_UNKNOWN:
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue