Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/63186 )
Change subject: util/amdfwtool: use ISH support for Sabrina SoC ......................................................................
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 --- M util/amdfwtool/amdfwtool.c 1 file changed, 12 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/86/63186/1
diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c index cdee270..2796cde 100644 --- a/util/amdfwtool/amdfwtool.c +++ b/util/amdfwtool/amdfwtool.c @@ -1458,6 +1458,14 @@
}
+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 c; @@ -1689,6 +1697,10 @@ } }
+ if (needs_ish(soc_id)) { + cb_config.need_ish = true; + } + if (cb_config.need_ish) { cb_config.recovery_ab = true; }