summaryrefslogtreecommitdiffstats
path: root/cli_classic.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli_classic.c')
-rw-r--r--cli_classic.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli_classic.c b/cli_classic.c
index d78c575..09504d7 100644
--- a/cli_classic.c
+++ b/cli_classic.c
@@ -456,5 +456,10 @@ int cli_classic(int argc, char *argv[])
if (write_it && !dont_verify_it)
verify_it = 1;
+ /* FIXME: We should issue an unconditional chip reset here. This can be
+ * done once we have a .reset function in struct flashchip.
+ * Give the chip time to settle.
+ */
+ programmer_delay(100000);
return doit(flash, force, filename, read_it, write_it, erase_it, verify_it);
}
OpenPOWER on IntegriCloud