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-06 23:14:39 +0000
commite31b7bd7b1698824c66f9a5345a773a486e65de7 (patch)
tree64d1e31f58172911db1052fe23c2ba446238a647
parent5f2b64177b7c112ddfacda0855f914c8379d7bfa (diff)
downloadchrome-ec-release-R109-15236.B-main.tar.gz
flash_ec: change ec_reset to gsc_ec_resetstabilize-15236.66.B-mainrelease-R109-15236.B-main
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/+/4140103 Auto-Submit: Garry Wang <xianuowang@chromium.org> Tested-by: 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"