From 9cf787bf0db6986f6d40b746efcfcffc4c68bdda Mon Sep 17 00:00:00 2001 From: Fei Shao Date: Mon, 25 Nov 2019 16:47:00 +0800 Subject: flash_ec: Fix accidental dut-control invocation There's a typo when calling dut_control in CL:1884252, which causes "--port" argument is missing when executing flash_ec. BUG=b:145103343 BRANCH=kukui TEST="util/flash_ec --image ${IMG} --board ${BOARD} --port 9998" works Change-Id: I8c79797be4a665bd9ab8c3770c5199f2f798c6c4 Signed-off-by: Fei Shao Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1932869 Reviewed-by: Daisuke Nojiri Reviewed-by: Jett Rink Commit-Queue: Daisuke Nojiri --- util/flash_ec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/flash_ec b/util/flash_ec index 4bae5500a5..eb5a4d8af6 100755 --- a/util/flash_ec +++ b/util/flash_ec @@ -452,7 +452,7 @@ servo_micro_ec_boot0() { dut_control servo_micro_ec_boot_mode_$2:$1 else info "Servo micro $2 mode: $1 (using FW_UP_L)" - dut-control ec_boot_mode:$1 + dut_control ec_boot_mode:$1 fi } -- cgit v1.2.1