openocd/src/jtag
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
..
aice Convert to non-recursive make 2016-12-08 16:23:10 +00:00
drivers jtag: drivers: build usb_blaster only if enabled 2017-01-15 10:14:53 +00:00
hla Convert to non-recursive make 2016-12-08 16:23:10 +00:00
minidriver Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
minidummy Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
zy1000 Fix usage of timeval_ms() 2016-07-19 10:45:16 +01:00
Makefile.am Convert to non-recursive make 2016-12-08 16:23:10 +00:00
adapter.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
commands.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
commands.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
core.c jtag: core: report TRST and SRST as asserted only when they really are 2017-01-15 11:02:14 +00:00
driver.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
interface.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
interface.h Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
interfaces.c Remove support for the GPL incompatible FTDI D2XX library 2016-11-06 09:47:12 +00:00
interfaces.h Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
jtag.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
minidriver.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
startup.tcl jtag/startup.tcl: fix regression with autoselecting JTAG 2015-04-14 12:35:39 +01:00
swd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
tcl.c Fix usage of timeval_ms() 2016-07-19 10:45:16 +01:00
tcl.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00