jtag: add connect_type reset_config mode flag
commitc91dbd41ba5490b1b63617bab42624e45f5cd3ad
authorSpencer Oliver <spen@spen-soft.co.uk>
Mon, 26 Nov 2012 12:42:41 +0000 (26 12:42 +0000)
committerFreddie Chopin <freddie.chopin@gmail.com>
Mon, 10 Dec 2012 16:13:52 +0000 (10 16:13 +0000)
tree1d313f3cd1bd04c79a766e57f2285863a7bfe462
parent539a9cf20831c96588c0db62b871f7438067b509
jtag: add connect_type reset_config mode flag

This adds the ability to request to the adapter how we want to connect to
the target, eg. while srst is asserted or not.

This ability can very handy for connecting to unresponsive targets.
A prerequisite is that the target supports srst_nogate.

Change-Id: I0f7c9475160048e8a963e16077754f5403ac8325
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/976
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
doc/openocd.texi
src/jtag/adapter.c
src/jtag/jtag.h