diff options
author | Ruben Rodriguez Buchillon <coconutruben@chromium.org> | 2018-08-23 17:48:21 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-08-31 11:20:07 -0700 |
commit | a127ae219416e6352aafaf2498299715047852e1 (patch) | |
tree | 8385e7cf02cfcc4280d1b2cd154405b0e53f60f3 /util/flash_ec | |
parent | 096f04f03ade187dabb277363e66aa5fe5326881 (diff) | |
download | chrome-ec-a127ae219416e6352aafaf2498299715047852e1.tar.gz |
flash_ec: leverage new ftdii2c_cmd interface for ite flash
This adopts the change to the ftdii2c controls
CQ-DEPEND=CL:1156425
BRANCH=None
BUG=chromium:869335
TEST=None
Change-Id: Ic5c5dbf0404db354834e1148e527353667ec25f9
Signed-off-by: Ruben Rodriguez Buchillon <coconutruben@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1186385
Tested-by: Matthew Blecker <matthewb@chromium.org>
Reviewed-by: Matthew Blecker <matthewb@chromium.org>
Diffstat (limited to 'util/flash_ec')
-rwxr-xr-x | util/flash_ec | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/flash_ec b/util/flash_ec index 9f6ee74736..ddd3ec3ba8 100755 --- a/util/flash_ec +++ b/util/flash_ec @@ -487,9 +487,9 @@ cleanup() { if [ "${CHIP}" == "it83xx" ] ; then info "Reinitialize ftdi_i2c interface" - dut_control --ftdii2c init - dut_control --ftdii2c open - dut_control --ftdii2c setclock + dut_control ftdii2c_cmd:init + dut_control ftdii2c_cmd:open + dut_control ftdii2c_cmd:setclock # Reset the dut mux if it exists if $(servo_has_dut_i2c_mux); then @@ -1000,7 +1000,7 @@ function flash_it83xx() { servo_ec_hard_reset info "Close connection to ftdi_i2c interface" - dut_control --ftdii2c close + dut_control ftdii2c_cmd:close info "Run iteflash..." sudo ${ITEFLASH} -w ${IMG} |