util/amdfwtool: rename Faegan SoC to Krackan2e

Faegan is an alias for Krackan2e. This only changes the SoC name in
amdfwtool; the Faegan SoC variant name in the glinda folder will be
renamed later once all remaining patches have been upstreamed, to not
make the upstreaming more difficult than necessary.

Change-Id: I051e163170d4363594dcff4b505d01cabfb3a190
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/91717
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com>
This commit is contained in:
Felix Held 2026-03-12 14:46:33 +01:00 committed by Matt DeVillier
commit 30cd6efc29
4 changed files with 11 additions and 11 deletions

View file

@ -674,7 +674,7 @@ static void fill_psp_directory_to_efs(embedded_firmware *amd_romsig, void *pspdi
case PLATFORM_LUCIENNE:
case PLATFORM_RENOIR:
case PLATFORM_GENOA:
case PLATFORM_FAEGAN:
case PLATFORM_KRACKAN2E:
case PLATFORM_STRIXHALO:
default:
/* for combo, it is also combo_psp_directory */
@ -707,7 +707,7 @@ static void fill_bios_directory_to_efs(embedded_firmware *amd_romsig, void *bios
case PLATFORM_MENDOCINO:
case PLATFORM_PHOENIX:
case PLATFORM_STRIX:
case PLATFORM_FAEGAN:
case PLATFORM_KRACKAN2E:
case PLATFORM_STRIXHALO:
break;
case PLATFORM_CARRIZO:
@ -751,7 +751,7 @@ static uint32_t get_psp_id(enum platform soc_id)
case PLATFORM_GENOA:
psp_id = 0xBC0C0111;
break;
case PLATFORM_FAEGAN:
case PLATFORM_KRACKAN2E:
psp_id = 0xbc0e1000;
break;
case PLATFORM_STRIXHALO:
@ -1624,7 +1624,7 @@ static int set_efs_table(uint8_t soc_id, amd_cb_config *cb_config,
case PLATFORM_PHOENIX:
case PLATFORM_STRIX:
case PLATFORM_GENOA:
case PLATFORM_FAEGAN:
case PLATFORM_KRACKAN2E:
case PLATFORM_STRIXHALO:
amd_romsig->spi_readmode_f17_mod_30_3f = cb_config->efs_spi_readmode;
amd_romsig->spi_fastspeed_f17_mod_30_3f = cb_config->efs_spi_speed;
@ -1684,7 +1684,7 @@ static bool is_initial_alignment_required(enum platform soc_id)
case PLATFORM_MENDOCINO:
case PLATFORM_PHOENIX:
case PLATFORM_STRIX:
case PLATFORM_FAEGAN:
case PLATFORM_KRACKAN2E:
case PLATFORM_STRIXHALO:
return false;
default:

View file

@ -34,7 +34,7 @@ enum platform {
PLATFORM_PHOENIX,
PLATFORM_STRIX,
PLATFORM_GENOA,
PLATFORM_FAEGAN,
PLATFORM_KRACKAN2E,
PLATFORM_STRIXHALO,
};

View file

@ -117,8 +117,8 @@ static enum platform identify_platform(char *soc_name)
return PLATFORM_STRIX;
else if (!strcasecmp(soc_name, "Genoa"))
return PLATFORM_GENOA;
else if (!strcasecmp(soc_name, "Faegan"))
return PLATFORM_FAEGAN;
else if (!strcasecmp(soc_name, "Krackan2e"))
return PLATFORM_KRACKAN2E;
else if (!strcasecmp(soc_name, "Strixhalo"))
return PLATFORM_STRIXHALO;
else
@ -793,7 +793,7 @@ 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_STRIX || platform_type == PLATFORM_FAEGAN ||
platform_type == PLATFORM_STRIX || platform_type == PLATFORM_KRACKAN2E ||
platform_type == PLATFORM_STRIXHALO)
return true;
else
@ -820,7 +820,7 @@ static bool is_second_gen(enum platform platform_type)
case PLATFORM_PHOENIX:
case PLATFORM_STRIX:
case PLATFORM_GENOA:
case PLATFORM_FAEGAN:
case PLATFORM_KRACKAN2E:
case PLATFORM_STRIXHALO:
return true;
case PLATFORM_UNKNOWN:

View file

@ -40,7 +40,7 @@ static uint16_t get_psp_fw_type(enum platform soc_id, struct amd_fw_header *head
case PLATFORM_MENDOCINO:
case PLATFORM_PHOENIX:
case PLATFORM_STRIX:
case PLATFORM_FAEGAN:
case PLATFORM_KRACKAN2E:
case PLATFORM_STRIXHALO:
/* Fallback to fw_type if fw_id is not populated, which serves the same
purpose on older SoCs. */