jtag/drivers/ftdi: do not touch unavailable reset signals
commit52b80fbd82d80425863823b3fe26d47a702febb0
authorPaul Fertser <fercerpav@gmail.com>
Sun, 22 Jun 2014 19:23:31 +0000 (22 23:23 +0400)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Sat, 28 Jun 2014 16:52:08 +0000 (28 16:52 +0000)
tree1f103e5c506905758dfe4823d31996d5d8a2325e
parenteeff8eec6cfef3a0e51813824b97e4ba766b83ba
jtag/drivers/ftdi: do not touch unavailable reset signals

If the current reset_config doesn't specify availability of nTRST or
nSRST, just leave them alone, do not try to deassert them ever
(asserting would be prevented by the upper layer).

Change-Id: I90123c666e05a1c26f1e164625e82d766a3e3744
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2186
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
src/jtag/drivers/ftdi.c