summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@chromium.org>2019-11-26 17:17:44 +1100
committerCommit Bot <commit-bot@chromium.org>2019-12-02 07:09:42 +0000
commit4cead5fee84bd61494c24faabeca9106a1b274a6 (patch)
tree80f23fe2e8a9d5354abe098339d79ac3b8b9a084
parent81beef1408aa58c2aa88e4440e1f1560f2967873 (diff)
downloadchrome-ec-4cead5fee84bd61494c24faabeca9106a1b274a6.tar.gz
util/flash_ec: Rename '--get-size' -> '--flash-size'
Upstream decided the argument '--flash-size' is more consistent and so we added support to that in both our flashrom and upstream. Rename here so that when we switch to upstream mosys doesn't break. BUG=b:142436013 BRANCH=none TEST=none Change-Id: I4ae50109b7cb3fd001188ef86072d1f221f73062 Signed-off-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1936072 Reviewed-by: Sam McNally <sammc@chromium.org> Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
-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