]> git.sur5r.net Git - openocd/commit
jtag: Avoid extra SRSTn resets when connecting
authorEvan Hunter <ehunter@broadcom.com>
Fri, 21 Nov 2014 17:42:23 +0000 (17:42 +0000)
committerSpencer Oliver <spen@spen-soft.co.uk>
Thu, 15 Jan 2015 23:16:06 +0000 (23:16 +0000)
commitd25b43b1635df370424a57d4475ba4ca46f43758
treeb1765ba6fd37519bba794c742de24af45720638d
parentd12fa18bd91133bca0fcc4bfd05bfb8c7d86b45c
jtag: Avoid extra SRSTn resets when connecting

Previously the jtag_add_reset(1, 0) caused the processor to be released,
and if SRSTn existed then it would then be reset again two lines later.

Change-Id: I58b7a12607f46f83caa7ed3b3cebc4195eb51ef6
Signed-off-by: Evan Hunter <ehunter@broadcom.com>
Reviewed-on: http://openocd.zylin.com/2398
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/jtag/core.c