summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Hesling <hesling@chromium.org>2019-11-20 12:14:29 -0800
committerCommit Bot <commit-bot@chromium.org>2019-11-22 01:33:22 +0000
commite56b201481505f482f90171fa77317fece342d8f (patch)
treeb26bcb436b25299912d6bedb3b169766b6aee5c0
parent2e2dcb986bfe952cd9a87bf2cd3498fafde6e805 (diff)
downloadchrome-ec-e56b201481505f482f90171fa77317fece342d8f.tar.gz
flash_ec: Fix servo micro boot0 for fpmcu/usbpd
This CL fixes servo micro flashing for fpmcu and usbpd. This broke after crrev.com/c/1884252. The error seen was the following: ./util/flash_ec: line 496: servo_micro_usbpd_boot0: command not found BRANCH=nocturne,hatch BUG=none TEST=./util/flash_ec --board=dartmonkey --image=./build/nocturne_fp/ec.bin Signed-off-by: Craig Hesling <hesling@chromium.org> Change-Id: Ic98fb31e29ee25d5397d38d5e742727a909994e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1924990 Reviewed-by: Jett Rink <jettrink@chromium.org>
-rwxr-xr-xutil/flash_ec4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/flash_ec b/util/flash_ec
index b6bb70600f..4bae5500a5 100755
--- a/util/flash_ec
+++ b/util/flash_ec
@@ -464,6 +464,10 @@ servo_usbpd_boot0() {
dut_control usbpd_boot_mode:$1
}
+servo_micro_usbpd_boot0() {
+ servo_usbpd_boot0 "$@"
+}
+
servo_sh_boot0() {
dut_control sh_boot_mode:$1
}