summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Chao <scott_chao@wistron.corp-partner.google.com>2023-01-05 14:12:11 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-01-10 19:25:54 +0000
commitbd2f31b0f0ea55f5cc1dc118fd5a008c8430cc2b (patch)
treef3b0e92cdcc982efef5e8df4c209fb337c2db8bf
parent09cae071a2ed6412f795f9d8061951957b2dda35 (diff)
downloadchrome-ec-stabilize-15278.64.B-main.tar.gz
After CL:4108949, the ec_reset have changed to gsc_ec_reset. This CL will avoid flash error due to No control named "ec_reset". BUG=none BRANCH=none TEST=use c2d2 and flash ec Change-Id: I28c8c957b3a5d24b659bb5234e9538bff0898871 Signed-off-by: Scott Chao <scott_chao@wistron.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4135920 Reviewed-by: Mary Ruthven <mruthven@chromium.org> Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com> Commit-Queue: Mary Ruthven <mruthven@chromium.org> (cherry picked from commit 8163dba9aebb47b2bdca455463060b947fc5c382) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4140104 Tested-by: Garry Wang <xianuowang@chromium.org> Commit-Queue: Garry Wang <xianuowang@chromium.org>
-rwxr-xr-xutil/flash_ec8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/flash_ec b/util/flash_ec
index 8419c2e7a0..0a6044c012 100755
--- a/util/flash_ec
+++ b/util/flash_ec
@@ -1292,7 +1292,7 @@ function flash_it83xx() {
c2d2_wait_for_h1_power_on_or_reset
# Don't let the EC come out of reset after H1 reset
- dut_control ec_reset:on
+ dut_control gsc_ec_reset:on
# Enable i2c bus on C2D2 at 400kbps
servo_save_add "i2c_ec_bus_speed"
@@ -1318,7 +1318,7 @@ function flash_it83xx() {
# We need to send the special waveform very soon after the EC powers on
if [[ "${SERVO_TYPE}" =~ "c2d2" ]]; then
# The EC was held in reset above
- dut_control ec_reset:off
+ dut_control gsc_ec_reset:off
elif servo_has_cold_reset; then
servo_ec_hard_reset_or_die
fi
@@ -1480,11 +1480,11 @@ function flash_npcx_uut() {
c2d2_wait_for_h1_power_on_or_reset
# Don't let the EC come out of reset after H1 reset
- dut_control ec_reset:on
+ dut_control gsc_ec_reset:on
# Force the EC to boot in UART update mode coming out of reset
ec_enable_boot0 "uut"
- dut_control ec_reset:off
+ dut_control gsc_ec_reset:off
# Ensure normal UART operation
ec_disable_boot0 "uut"