summaryrefslogtreecommitdiff
path: root/util/flash_ec
diff options
context:
space:
mode:
authorDaniel Campello <campello@chromium.org>2021-04-27 06:57:19 -0600
committerCommit Bot <commit-bot@chromium.org>2021-04-27 17:28:28 +0000
commit27ebaa6c7761c98990847974c800c42211c85c6e (patch)
tree05add0e08ed58cef4a011cf225dbb0917f2b3cee /util/flash_ec
parent0a1ada84e7ccf73ff3976f84cf95eecea1ca2ad1 (diff)
downloadchrome-ec-27ebaa6c7761c98990847974c800c42211c85c6e.tar.gz
ec: migrate out of flashrom deprecated options
This change replaces --fast-verify for the supported equivalent flashrom option. Also it removes --ignore-fmap as this is implicit from using -l option and it is going away. BRANCH=none BUG=b:186479007 TEST=flash_ec --image=${EC_IMAGE} --board=${BOARD} Signed-off-by: Daniel Campello <campello@chromium.org> Change-Id: I3014f1e26c5b3eea7db109a2dd401d7a0163cc9d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2853603 Commit-Queue: Raul E Rangel <rrangel@chromium.org> Reviewed-by: Raul E Rangel <rrangel@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'util/flash_ec')
-rwxr-xr-xutil/flash_ec3
1 files changed, 1 insertions, 2 deletions
diff --git a/util/flash_ec b/util/flash_ec
index 2cd9440cda..b6fac2d585 100755
--- a/util/flash_ec
+++ b/util/flash_ec
@@ -1016,8 +1016,7 @@ function flash_flashrom() {
[[ -z "${FLAGS_read}" ]] && dump_fmap -F "${IMG}" > "${L}"
- FLASHROM_OPTIONS="-i EC_RW -i WP_RO -l "${L}" --ignore-fmap"
- FLASHROM_OPTIONS+=" --fast-verify"
+ FLASHROM_OPTIONS="-i EC_RW -i WP_RO -l "${L}" --noverify-all"
fi
# Generate the correct flashrom command base.