summaryrefslogtreecommitdiff
path: root/util/flash_ec
diff options
context:
space:
mode:
Diffstat (limited to 'util/flash_ec')
-rwxr-xr-xutil/flash_ec2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/flash_ec b/util/flash_ec
index eb5a4d8af6..3aca26bba8 100755
--- a/util/flash_ec
+++ b/util/flash_ec
@@ -899,7 +899,7 @@ function flash_flashrom() {
if [[ -z "${FLAGS_read}" ]]; then
# Program EC image.
# flashrom should report the image size at the end of the output.
- local FLASHROM_GETSIZE="sudo ${FLASHROM_CMDLINE} --get-size"
+ local FLASHROM_GETSIZE="sudo ${FLASHROM_CMDLINE} --flash-size"
if [[ "${FLAGS_verbose}" == ${FLAGS_TRUE} ]]; then
info "Running flashrom:" 1>&2
echo " ${FLASHROM_GETSIZE}" 1>&2