summaryrefslogtreecommitdiff
path: root/util/iteflash.c
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2018-11-05 11:42:18 -0800
committerchrome-bot <chrome-bot@chromium.org>2018-11-07 01:21:11 -0800
commita75f7e1f1e1e2a4cc090f6782c1fc5a3ffc3e30c (patch)
tree2bd66845d21f0d61c29d5f65885f48555d449a31 /util/iteflash.c
parentaad8fc0d6ef10a80e2f008e9e9ca15f968fad2ac (diff)
downloadchrome-ec-a75f7e1f1e1e2a4cc090f6782c1fc5a3ffc3e30c.tar.gz
iteflash: by default send ITE SYNC waveform
A recent patch changed behavior of iteflash utility such that it does not generate the ITE SYNC sequence unless explicitly requested. Let's keep the previous behavior, especially since all presently available programming modes require sending the sequence. BRANCH=none BUG=b:75976718 TEST=with the rest of the patches applied observed the sync sequence generated be default, as required. Change-Id: I0a83f6ee84722d12372088f0b5269d1036f920a9 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1318292 Commit-Ready: Vadim Bendebury <vbendeb@google.com> Reviewed-by: Matthew Blecker <matthewb@chromium.org>
Diffstat (limited to 'util/iteflash.c')
-rw-r--r--util/iteflash.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/iteflash.c b/util/iteflash.c
index 79bb3a31b5..6b621f78b6 100644
--- a/util/iteflash.c
+++ b/util/iteflash.c
@@ -1604,7 +1604,7 @@ static void display_usage(char *program)
fprintf(stderr, "--u[nprotect] : remove flash write protect\n");
fprintf(stderr, "--v[endor] <0x1234> : USB vendor ID\n");
fprintf(stderr, "-W, --send-waveform <0|1|false|true> : Send the "
- "specal waveform? Default is false, subject to change."
+ "specal waveform? Default is true."
" Set to false if ITE direct firmware update mode has "
"already been enabled.\n");
fprintf(stderr, "--w[rite] <file> : read <file> and "
@@ -1705,6 +1705,7 @@ int main(int argc, char **argv)
struct common_hnd chnd = {
/* Default flag settings. */
.conf = {
+ .send_waveform = 1,
.usb_interface = SERVO_INTERFACE,
.usb_vid = SERVO_USB_VID,
.usb_pid = SERVO_USB_PID,