summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNamyoon Woo <namyoon@google.com>2019-03-29 17:58:13 -0700
committerchrome-bot <chrome-bot@chromium.org>2019-03-30 20:59:38 -0700
commit101ef9c869d483307eb9325ec82a97f606e9caca (patch)
treee254f09a4ff05cce7e28deb570eacf12cdedbf11
parent89bfde44d99ad345a686998b344aac35051ebdff (diff)
downloadchrome-ec-101ef9c869d483307eb9325ec82a97f606e9caca.tar.gz
flash_ec: change the default bitbang rate to 57600
Bitbanging in 9600 bps is not stable. Since the current cr50 implementation is optimized for 57600 and complaints with 9600 bps are growing, the default rate should be set to 57600. BUG=b:129570292 BRANCH=None TEST=manually ran flash_ec on scarlet and kului. Change-Id: Ibd7d0240662b44853b53d2e067bdbe70a0d760e3 Signed-off-by: Namyoon Woo <namyoon@google.com> Reviewed-on: https://chromium-review.googlesource.com/1545087 Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com> Tested-by: Namyoon Woo <namyoon@chromium.org> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
-rwxr-xr-xutil/flash_ec2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/flash_ec b/util/flash_ec
index 753701ff4f..e9e4700361 100755
--- a/util/flash_ec
+++ b/util/flash_ec
@@ -134,7 +134,7 @@ BOARDS_RAIDEN=(
)
DEFAULT_PORT="${SERVOD_PORT:-9999}"
-BITBANG_RATE="9600" # Could be overwritten by a command line option.
+BITBANG_RATE="57600" # Could be overwritten by a command line option.
# Flags
DEFINE_integer bitbang_rate "${BITBANG_RATE}" \