diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c index 96acb3601b..15d2926fd3 100644 --- a/util/amdfwtool/amdfwtool.c +++ b/util/amdfwtool/amdfwtool.c @@ -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: diff --git a/util/amdfwtool/amdfwtool.h b/util/amdfwtool/amdfwtool.h index 6e5d495823..bd973638ed 100644 --- a/util/amdfwtool/amdfwtool.h +++ b/util/amdfwtool/amdfwtool.h @@ -34,7 +34,7 @@ enum platform { PLATFORM_PHOENIX, PLATFORM_STRIX, PLATFORM_GENOA, - PLATFORM_FAEGAN, + PLATFORM_KRACKAN2E, PLATFORM_STRIXHALO, }; diff --git a/util/amdfwtool/data_parse.c b/util/amdfwtool/data_parse.c index 57341d7fe9..314d741b6b 100644 --- a/util/amdfwtool/data_parse.c +++ b/util/amdfwtool/data_parse.c @@ -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: diff --git a/util/amdfwtool/signed_psp.c b/util/amdfwtool/signed_psp.c index 9d6bad0b0b..8dbb596a01 100644 --- a/util/amdfwtool/signed_psp.c +++ b/util/amdfwtool/signed_psp.c @@ -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. */