diff options
author | Louis Yung-Chieh Lo <yjlou@chromium.org> | 2012-07-27 11:40:08 +0800 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-07-26 23:11:30 -0700 |
commit | e533adccb782736d3e80697f068a24d78dc830b1 (patch) | |
tree | b7c477ef2d69fd4ed6274baf7b674b4288fff18b | |
parent | 314beee45091e63a457b1b03915cb3dc1c655d63 (diff) | |
download | chrome-ec-e533adccb782736d3e80697f068a24d78dc830b1.tar.gz |
The jtag_buf_en was not set.
The dut_control function only accepts the first parameter. Thus,
the jtag_buf_en:on is actually dropped in flash_link. This caused
flash_ec script failed sometimes.
BUG=None
TEST=tested on link.
util/flash_ec --board=link --image=...
Change-Id: Ib7f8cdcd651a573ad4bdc6e446f3c715dce29b71
Signed-off-by: Louis Yung-Chieh Lo <yjlou@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/28569
Commit-Ready: Yung-Chieh Lo <yjlou%chromium.org@gtempaccount.com>
Tested-by: Yung-Chieh Lo <yjlou%chromium.org@gtempaccount.com>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
-rwxr-xr-x | util/flash_ec | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/flash_ec b/util/flash_ec index 6b9f45a7b0..5375851e20 100755 --- a/util/flash_ec +++ b/util/flash_ec @@ -111,7 +111,8 @@ function flash_link() { OCD_PATH="${SRC_ROOT}/platform/ec/chip/lm4/openocd" OCD_CMDS="init ; flash_lm4 ${IMG} 0 262144 ; exit" - dut_control jtag_buf_on_flex_en:on jtag_buf_en:on + dut_control jtag_buf_on_flex_en:on + dut_control jtag_buf_en:on sudo openocd -s "${OCD_PATH}" -f "${OCD_CFG}" -c "${OCD_CMDS}" } |