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>
This commit is contained in:
committed by
Edward O'Callaghan
parent
97a94429f2
commit
bd64f8ef2e
@ -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;
|
||||
|
Reference in New Issue
Block a user