summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/amdfwtool/amdfwtool.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c
index 9e7f920487..7c977a2cdf 100644
--- a/util/amdfwtool/amdfwtool.c
+++ b/util/amdfwtool/amdfwtool.c
@@ -1684,6 +1684,12 @@ int main(int argc, char **argv)
}
}
+ if (cb_config.need_ish)
+ cb_config.recovery_ab = true;
+
+ if (cb_config.recovery_ab)
+ cb_config.multi_level = true;
+
if (config) {
config_handle = fopen(config, "r");
if (config_handle == NULL) {
@@ -1724,10 +1730,6 @@ int main(int argc, char **argv)
retval = 1;
}
- if (cb_config.recovery_ab) {
- cb_config.multi_level = true;
- }
-
if (retval) {
usage();
return retval;