diff options
author | Simon Qian <simonqian.openocd@gmail.com> | 2012-03-17 15:21:59 +0800 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2012-04-10 12:14:00 +0000 |
commit | 7743e0fb4390d09c315ce9c6edbb2c3ba6b8c2d9 (patch) | |
tree | fcd0917e249482eff2ddbe4b246a1f29a504d93a /src/jtag/interface.h | |
parent | a2935397b48ce2a1bbb8e49258b340479e0b9c8e (diff) | |
download | riscv-openocd-7743e0fb4390d09c315ce9c6edbb2c3ba6b8c2d9.zip riscv-openocd-7743e0fb4390d09c315ce9c6edbb2c3ba6b8c2d9.tar.gz riscv-openocd-7743e0fb4390d09c315ce9c6edbb2c3ba6b8c2d9.tar.bz2 |
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>
Diffstat (limited to 'src/jtag/interface.h')
-rw-r--r-- | src/jtag/interface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jtag/interface.h b/src/jtag/interface.h index 9c11d9d..72af2fe 100644 --- a/src/jtag/interface.h +++ b/src/jtag/interface.h @@ -304,4 +304,7 @@ extern const char *jtag_only[]; extern const struct swd_driver *swd; +void adapter_assert_reset(void); +void adapter_deassert_reset(void); + #endif /* OPENOCD_JTAG_INTERFACE_H */ |