diff options
author | Daniel Campello <campello@chromium.org> | 2021-04-27 17:27:24 -0600 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2021-04-29 01:05:29 +0000 |
commit | bd64f8ef2e18a8996af3706bdd56bbf95530ed8d (patch) | |
tree | 86c46aefc1b7a40c85e2dc551b80144e52ba8f0e | |
parent | 97a94429f2bc1e891d15d331e7ec4355892f3684 (diff) | |
download | coreboot-bd64f8ef2e18a8996af3706bdd56bbf95530ed8d.tar.xz |
migrate out of flashrom deprecated options
This change replaces --diff and --fast-verify for the supported
equivalent flashrom options
Signed-off-by: Daniel Campello <campello@chromium.org>
Change-Id: I8c48c7f819f968c3ddd94278415e5e9e0ef93924
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52717
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
-rwxr-xr-x | src/vendorcode/google/chromeos/build-snow.sh | 2 | ||||
-rwxr-xr-x | util/mma/mma_setup_test.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vendorcode/google/chromeos/build-snow.sh b/src/vendorcode/google/chromeos/build-snow.sh index 5767418e9d..38a0b8e763 100755 --- a/src/vendorcode/google/chromeos/build-snow.sh +++ b/src/vendorcode/google/chromeos/build-snow.sh @@ -28,7 +28,7 @@ fast_flash_image() { local diff_file="$2" dut-control spi2_buf_en:on spi2_buf_on_flex_en:on spi2_vref:pp1800 sudo ${FLASHROM} -p ft2232_spi:type=servo-v2,port=a -w "$image_file" -V \ - --noverify --ignore-fmap --diff "$diff_file" + --noverify --flash-contents "$diff_file" dut-control spi2_buf_en:off spi2_buf_on_flex_en:off spi2_vref:off } diff --git a/util/mma/mma_setup_test.sh b/util/mma/mma_setup_test.sh index a13b3f3431..75bce36178 100755 --- a/util/mma/mma_setup_test.sh +++ b/util/mma/mma_setup_test.sh @@ -86,7 +86,7 @@ show_usage() { write_flash() { printf "Writing back flash contents "${flashrom_temp_image}"\n" - flashrom -p host -w "${flashrom_temp_image}" --fast-verify || \ + flashrom -p host -w "${flashrom_temp_image}" --noverify-all || \ { printf "failed to read flash\n" ; exit -1; |