]> git.sur5r.net Git - openocd/commit
topic: add reset functions for SWD
authorSimon Qian <simonqian.openocd@gmail.com>
Sat, 17 Mar 2012 07:21:59 +0000 (15:21 +0800)
committerSpencer Oliver <spen@spen-soft.co.uk>
Tue, 10 Apr 2012 12:14:00 +0000 (12:14 +0000)
commit7743e0fb4390d09c315ce9c6edbb2c3ba6b8c2d9
treefcd0917e249482eff2ddbe4b246a1f29a504d93a
parenta2935397b48ce2a1bbb8e49258b340479e0b9c8e
topic: add reset functions for SWD

Add swd_init_reset and swd_add_reset.
Add adapter_assert_reset and adapter_deassert_reset, and call them instead
of JTAG reset functions.

Change-Id: Ib2551c6fbb45513e0ae0dc331cfe3ee3f922298a
Signed-off-by: Simon Qian <simonqian.openocd@gmail.com>
Reviewed-on: http://openocd.zylin.com/526
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/flash/nor/stellaris.c
src/jtag/core.c
src/jtag/interface.h
src/jtag/swd.h
src/jtag/tcl.c
src/target/arm_adi_v5.c
src/target/cortex_m.c