summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2022-08-30 10:34:50 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-08-31 21:28:28 +0000
commit976092f8a33bb2d961c1e8beff92aba44ea15f26 (patch)
tree88708d54214d16c08b6e6ad95f91c950cc0f4def
parent43f12506f0c01bb88939f5f5129b03379281f341 (diff)
downloadchrome-ec-976092f8a33bb2d961c1e8beff92aba44ea15f26.tar.gz
util/flash_ec: Fix shellcheck warning
"(${FILTERED_CHIPS[*]}). Use --chip= to choose one." ^------------------^ SC2154: FILTERED_CHIPS is referenced but not assigned. The FILTERED_CHIPS variable was removed in commit 1641ef6a6e12ca4e26764ad0a083fc07a08da96d. BRANCH=none BUG=b:242127759 TEST=./util/flash_ec --board=dartmonkey Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: I593431719a8a70e3e70d82be45b0461788d4c400 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3864976 Reviewed-by: Namyoon Woo <namyoon@google.com>
-rwxr-xr-xutil/flash_ec2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/flash_ec b/util/flash_ec
index dcf754bc94..46dc166ea3 100755
--- a/util/flash_ec
+++ b/util/flash_ec
@@ -356,7 +356,7 @@ else
# file, instead of having multiple board-to-chip mapping info in this
# script. Please refer to crrev.com/c/1496460 for example.
die "board ${BOARD} supports multiple chips" \
- "(${FILTERED_CHIPS[*]}). Use --chip= to choose one."
+ "(${SUPPORTED_CHIPS[*]}). Use --chip= to choose one."
fi
if [ -n "${FLAGS_chip}" ] && [ "${CHIP}" != "${FLAGS_chip}" ]; then