summaryrefslogtreecommitdiff
path: root/cgpt
diff options
context:
space:
mode:
authorDaniel Campello <campello@chromium.org>2021-04-27 06:21:54 -0600
committerCommit Bot <commit-bot@chromium.org>2021-04-28 21:16:53 +0000
commit32cb4ad65a87da05c4a103068497cf87ad87e4a9 (patch)
treeed76665e16dd85a98b72e0d710551b5da49b6fdc /cgpt
parent029263c8be01430699553ddcf2631f7e37f2526c (diff)
downloadvboot-32cb4ad65a87da05c4a103068497cf87ad87e4a9.tar.gz
vboot_reference: migrate out of flashrom deprecated options
This change replaces --diff and --fast-verify for the supported equivalent flashrom options BRANCH=none BUG=b:186479007 TEST=tryjobs Change-Id: I614ba71c606dbe4e3a1b4988df845bcbbd61dd01 Signed-off-by: Daniel Campello <campello@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2853623 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'cgpt')
-rw-r--r--cgpt/cgpt_nor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgpt/cgpt_nor.c b/cgpt/cgpt_nor.c
index f7e65e87..2e43918b 100644
--- a/cgpt/cgpt_nor.c
+++ b/cgpt/cgpt_nor.c
@@ -267,7 +267,7 @@ int WriteNorFlash(const char *dir) {
goto out_free;
}
const char *const argv1[] = {FLASHROM_PATH, "-i", "RW_GPT_PRIMARY:rw_gpt_1",
- "-w", "--fast-verify"};
+ "-w", "--noverify-all"};
// Redirect stdout to /dev/null so that flashrom does not muck up cgpt's
// output.
if (subprocess_run(argv1, &subprocess_null, &subprocess_null, NULL) != 0) {
@@ -275,7 +275,7 @@ int WriteNorFlash(const char *dir) {
nr_fails++;
}
const char *const argv2[] = {FLASHROM_PATH, "-i", "RW_GPT_SECONDARY:rw_gpt_2",
- "-w", "--fast-verify"};
+ "-w", "--noverify-all"};
// Redirect stdout to /dev/null so that flashrom does not muck up cgpt's
// output.
if (subprocess_run(argv2, &subprocess_null, &subprocess_null, NULL) != 0) {