summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutil/flash_ec5
1 files changed, 4 insertions, 1 deletions
diff --git a/util/flash_ec b/util/flash_ec
index e7673df071..15ec7d03f6 100755
--- a/util/flash_ec
+++ b/util/flash_ec
@@ -1292,7 +1292,10 @@ function flash_it83xx() {
dut_control_or_die i2c_ec_bus_speed:400
# We need to swing the DUT-side muxes to I2C instead of UART.
- # This is done by convention with EC_FLASH_SELECT pin from H1
+ # This is done by convention with EC_FLASH_SELECT pin of the
+ # GSC. Also make sure that the setting is restored after
+ # completion.
+ servo_save_add "ec_flash_select" "off"
dut_control_or_die ec_flash_select:on
fi