summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/amdfwtool/amdfwtool.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c
index 4b76228912..80595ddb0d 100644
--- a/util/amdfwtool/amdfwtool.c
+++ b/util/amdfwtool/amdfwtool.c
@@ -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 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)
cb_config.recovery_ab = true;