openocd/src
Paul Fertser af4a2f3518 jtag: core: report TRST and SRST as asserted only when they really are
When SRST is never enabled, the global jtag_srst variable is left at its
initial state, that is, -1, and it does _not_ mean SRST is currently
asserted. Same about TRST.

Fixes "reset halt" in cases when srst_pulls_trst but srst usage is not
enabled.

Change-Id: I8d2e9120479de4cfbf5561033926c9ef945eecc9
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/3943
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
2017-01-15 11:02:14 +00:00
..
flash flash/nor: fix doc/help and range test for flash protect 2017-01-15 11:01:36 +00:00
helper helper,rtos,server: Restore missing warning flags 2017-01-15 10:16:16 +00:00
jtag jtag: core: report TRST and SRST as asserted only when they really are 2017-01-15 11:02:14 +00:00
pld Convert to non-recursive make 2016-12-08 16:23:10 +00:00
rtos helper,rtos,server: Restore missing warning flags 2017-01-15 10:16:16 +00:00
server helper,rtos,server: Restore missing warning flags 2017-01-15 10:16:16 +00:00
svf Convert to non-recursive make 2016-12-08 16:23:10 +00:00
target adi_v5_jtag: make sure SSTICKYERR is cleared after a POR 2017-01-15 11:00:32 +00:00
transport Convert to non-recursive make 2016-12-08 16:23:10 +00:00
xsvf Convert to non-recursive make 2016-12-08 16:23:10 +00:00
Makefile.am Convert to non-recursive make 2016-12-08 16:23:10 +00:00
hello.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
hello.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
main.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
openocd.c Remove build date from banner for releases 2016-12-08 12:55:19 +00:00
openocd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00