util/amdfwtool: use ISH support for Sabrina SoC
The PSP in the Sabrina SoC uses the image slot header to find the second level PSP directory table, so it needs the ISH to be generated. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I9e6308854147c9f6f72d722215c833ee86ee4f94 Reviewed-on: https://review.coreboot.org/c/coreboot/+/63186 Reviewed-by: Raul Rangel <rrangel@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
b18a4c7d0d
commit
f8e2e47e2b
|
@ -1458,6 +1458,14 @@ static int identify_platform(char *soc_name)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static bool needs_ish(enum platform platform_type)
|
||||||
|
{
|
||||||
|
if (platform_type == PLATFORM_SABRINA)
|
||||||
|
return true;
|
||||||
|
else
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
int c;
|
int c;
|
||||||
|
@ -1689,6 +1697,9 @@ int main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (needs_ish(soc_id))
|
||||||
|
cb_config.need_ish = true;
|
||||||
|
|
||||||
if (cb_config.need_ish)
|
if (cb_config.need_ish)
|
||||||
cb_config.recovery_ab = true;
|
cb_config.recovery_ab = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue