summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorDominic Chen <ddchen@chromium.org>2014-08-01 16:57:59 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-08-15 21:07:31 +0000
commitfd9eed96fd5d5d0f1f69f23ac1ef25e034d6e04d (patch)
tree5370dae8b02ad18d6f4021386d8a9d36a0796ee5 /util
parent5c5f832da90d732d1f26b0862a57fe91d2d82ddb (diff)
downloadchrome-ec-fd9eed96fd5d5d0f1f69f23ac1ef25e034d6e04d.tar.gz
openocd: update configuration files
1. use ftdi interface driver instead of deprecated ft2232 2. remove custom target config and use upstream stellaris target 3. replaced deprecated servo_v2.cfg with servo_v2_slower.cfg 4. deprecated openocd.cfg BUG=none BRANCH=none TEST=flash samus works CQ-DEPEND=CL:210778 Change-Id: I572a717613eedc3afc44009a0f1aba1f1d36d7f7 Signed-off-by: Dominic Chen <ddchen@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/210920 Reviewed-by: Todd Broch <tbroch@chromium.org>
Diffstat (limited to 'util')
-rwxr-xr-xutil/flash_ec4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/flash_ec b/util/flash_ec
index 9e91d20233..495dd2eb5a 100755
--- a/util/flash_ec
+++ b/util/flash_ec
@@ -332,7 +332,7 @@ function flash_stm32_dfu() {
function flash_link() {
[[ -n "${EC_DIR}" ]] || die "Cannot locate openocd script"
- OCD_CFG="servo_v2_slower.cfg"
+ OCD_CFG="servo_v2.cfg"
OCD_PATH="${EC_DIR}/chip/lm4/openocd"
OCD_CMDS="init; flash_lm4 ${IMG} ${FLAGS_offset};"
if [ "${FLAGS_unprotect}" = ${FLAGS_TRUE} ] ; then
@@ -351,7 +351,7 @@ function flash_link() {
function flash_lm4() {
[[ -n "${EC_DIR}" ]] || die "Cannot locate openocd script"
- OCD_CFG="servo_v2_slower.cfg"
+ OCD_CFG="servo_v2.cfg"
OCD_PATH="${EC_DIR}/chip/lm4/openocd"
OCD_CMDS="init; flash_lm4 ${IMG} ${FLAGS_offset};"
if [ "${FLAGS_unprotect}" = ${FLAGS_TRUE} ] ; then