mosys: migrate out of flashrom deprecated options
This change replaces --fast-verify with the supported equivalent flashrom
option
BUG=b:186479007
TEST=tryjobs
Change-Id: I5640698fe24fe143298b4330b575c71816e83807
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/mosys/+/2854174
Tested-by: Daniel Campello <campello@chromium.org>
Commit-Queue: Daniel Campello <campello@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
diff --git a/lib/flashrom/flashrom.c b/lib/flashrom/flashrom.c
index a8fb246..f718135 100644
--- a/lib/flashrom/flashrom.c
+++ b/lib/flashrom/flashrom.c
@@ -285,7 +285,7 @@
strcat(region_file, full_filename);
args[i++] = strdup(region_file);
args[i++] = strdup("-w");
- args[i++] = strdup("--fast-verify");
+ args[i++] = strdup("--noverify-all");
args[i++] = NULL;
if (do_cmd("flashrom", args) < 0) {