diff options
author | Myles Watson <mylesgw@chromium.org> | 2015-05-29 16:06:09 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-07-09 01:17:57 +0000 |
commit | aaff3610116bab246906ad929b5f0179cbe09577 (patch) | |
tree | f6a3bcb5ec7e05a1e1ef043cdbb88eedec131c50 /util/openocd/lm4_chip.cfg | |
parent | b793546316544eb6cb48362ad91d60c42dbee9e4 (diff) | |
download | chrome-ec-aaff3610116bab246906ad929b5f0179cbe09577.tar.gz |
flash_ec: split interface config from chip configs
rename setup_openocd -> flash_openocd
refactor so that flash_npcx and flash_lm4 set OCD_CMDS and call flash_openocd
BRANCH=none
BUG=chrome-os-partner:22990
TEST=run flash_ec before and after and compare the sequence of calls to
dut-control and the command-line args to openocd
tested with ryu (non-lm4), samus, link, npcx_evb, and peppy
Change-Id: I7a05e3219d4b324bcf19a20f86b149f8e3377465
Signed-off-by: Myles Watson <mylesgw@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/273907
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'util/openocd/lm4_chip.cfg')
-rw-r--r-- | util/openocd/lm4_chip.cfg | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/util/openocd/lm4_chip.cfg b/util/openocd/lm4_chip.cfg new file mode 100644 index 0000000000..ec3bb4143c --- /dev/null +++ b/util/openocd/lm4_chip.cfg @@ -0,0 +1,4 @@ + +source [find target/stellaris.cfg] +source [find lm4x_cmds.tcl] + |