util/amdfwtool: Rename Sabrina to Mendocino
'Mendocino' was an embargoed name and could previously not be used. Update amdfwtool for consistency with the correct naming convention. BUG=b:239072117 TEST=Builds Signed-off-by: Jon Murphy <jpmurphy@google.com> Change-Id: I673a9b99d207603b605756fc7d277c54c5d0f311 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66467 Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
parent
4f73242052
commit
9969f4b609
|
@ -552,7 +552,6 @@ enum platform {
|
||||||
PLATFORM_CEZANNE,
|
PLATFORM_CEZANNE,
|
||||||
PLATFORM_MENDOCINO,
|
PLATFORM_MENDOCINO,
|
||||||
PLATFORM_LUCIENNE,
|
PLATFORM_LUCIENNE,
|
||||||
PLATFORM_SABRINA,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static uint32_t get_psp_id(enum platform soc_id)
|
static uint32_t get_psp_id(enum platform soc_id)
|
||||||
|
@ -571,7 +570,6 @@ static uint32_t get_psp_id(enum platform soc_id)
|
||||||
psp_id = 0xBC0C0140;
|
psp_id = 0xBC0C0140;
|
||||||
break;
|
break;
|
||||||
case PLATFORM_MENDOCINO:
|
case PLATFORM_MENDOCINO:
|
||||||
case PLATFORM_SABRINA:
|
|
||||||
psp_id = 0xBC0D0900;
|
psp_id = 0xBC0D0900;
|
||||||
break;
|
break;
|
||||||
case PLATFORM_STONEYRIDGE:
|
case PLATFORM_STONEYRIDGE:
|
||||||
|
@ -1419,7 +1417,6 @@ static int set_efs_table(uint8_t soc_id, amd_cb_config *cb_config,
|
||||||
case PLATFORM_LUCIENNE:
|
case PLATFORM_LUCIENNE:
|
||||||
case PLATFORM_CEZANNE:
|
case PLATFORM_CEZANNE:
|
||||||
case PLATFORM_MENDOCINO:
|
case PLATFORM_MENDOCINO:
|
||||||
case PLATFORM_SABRINA:
|
|
||||||
amd_romsig->spi_readmode_f17_mod_30_3f = efs_spi_readmode;
|
amd_romsig->spi_readmode_f17_mod_30_3f = efs_spi_readmode;
|
||||||
amd_romsig->spi_fastspeed_f17_mod_30_3f = efs_spi_speed;
|
amd_romsig->spi_fastspeed_f17_mod_30_3f = efs_spi_speed;
|
||||||
switch (efs_spi_micron_flag) {
|
switch (efs_spi_micron_flag) {
|
||||||
|
@ -1461,8 +1458,6 @@ static int identify_platform(char *soc_name)
|
||||||
return PLATFORM_RENOIR;
|
return PLATFORM_RENOIR;
|
||||||
else if (!strcasecmp(soc_name, "Lucienne"))
|
else if (!strcasecmp(soc_name, "Lucienne"))
|
||||||
return PLATFORM_LUCIENNE;
|
return PLATFORM_LUCIENNE;
|
||||||
else if (!strcasecmp(soc_name, "Sabrina"))
|
|
||||||
return PLATFORM_SABRINA;
|
|
||||||
else
|
else
|
||||||
return PLATFORM_UNKNOWN;
|
return PLATFORM_UNKNOWN;
|
||||||
|
|
||||||
|
@ -1470,7 +1465,7 @@ static int identify_platform(char *soc_name)
|
||||||
|
|
||||||
static bool needs_ish(enum platform platform_type)
|
static bool needs_ish(enum platform platform_type)
|
||||||
{
|
{
|
||||||
if (platform_type == PLATFORM_SABRINA)
|
if (platform_type == PLATFORM_MENDOCINO)
|
||||||
return true;
|
return true;
|
||||||
else
|
else
|
||||||
return false;
|
return false;
|
||||||
|
@ -1486,7 +1481,7 @@ static bool is_second_gen(enum platform platform_type)
|
||||||
case PLATFORM_RENOIR:
|
case PLATFORM_RENOIR:
|
||||||
case PLATFORM_LUCIENNE:
|
case PLATFORM_LUCIENNE:
|
||||||
case PLATFORM_CEZANNE:
|
case PLATFORM_CEZANNE:
|
||||||
case PLATFORM_SABRINA:
|
case PLATFORM_MENDOCINO:
|
||||||
return true;
|
return true;
|
||||||
case PLATFORM_UNKNOWN:
|
case PLATFORM_UNKNOWN:
|
||||||
default:
|
default:
|
||||||
|
@ -1946,7 +1941,6 @@ int main(int argc, char **argv)
|
||||||
amd_romsig->bios3_entry = BUFF_TO_RUN(ctx, biosdir);
|
amd_romsig->bios3_entry = BUFF_TO_RUN(ctx, biosdir);
|
||||||
break;
|
break;
|
||||||
case PLATFORM_MENDOCINO:
|
case PLATFORM_MENDOCINO:
|
||||||
case PLATFORM_SABRINA:
|
|
||||||
break;
|
break;
|
||||||
case PLATFORM_STONEYRIDGE:
|
case PLATFORM_STONEYRIDGE:
|
||||||
case PLATFORM_RAVEN:
|
case PLATFORM_RAVEN:
|
||||||
|
|
Loading…
Reference in New Issue