scripts: migrate out of flashrom deprecated options
This change replaces --fast-verify for the supported equivalent flashrom
option
BUG=b:186479007
TEST=none
Change-Id: If73a4bb374bbda694ac4d82e40df6665608c9a4d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosutils/+/2854194
Tested-by: Daniel Campello <campello@chromium.org>
Auto-Submit: Daniel Campello <campello@chromium.org>
Reviewed-by: Chris McDonald <cjmcdonald@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Daniel Campello <campello@chromium.org>
diff --git a/build_library/cgpt.py b/build_library/cgpt.py
index e4b2e1f..afcba26 100755
--- a/build_library/cgpt.py
+++ b/build_library/cgpt.py
@@ -915,7 +915,7 @@
lines += ['${GPT} show ${target}']
if _HasExternalGpt(partitions):
- lines += ['flashrom -w -iRW_GPT:${gptfile} --fast-verify']
+ lines += ['flashrom -w -iRW_GPT:${gptfile} --noverify-all']
sfile.write('%s\n}\n' % '\n '.join(lines))