jtag: fix command "adapter [de]assert" with dap direct 15/5515/2
authorAntonio Borneo <borneo.antonio@gmail.com>
Fri, 6 Mar 2020 09:30:25 +0000 (10:30 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Tue, 24 Mar 2020 17:27:39 +0000 (17:27 +0000)
commit85dc63011378c0a8112f99e3a02fa971f96bbc05
tree886b3bda93c642ce7341ed8c8fd629cd58604a76
parentb7c13323e702c7aa1d05d952708d1e408c47fae1
jtag: fix command "adapter [de]assert" with dap direct

The commit fafe6dfc9cd8 ("adapter: add command "adapter [de]assert
srst|trst [[de]assert srst|trst]"") was proposed in gerrit well
before commit a61ec3c1d73d ("adi_v5_dapdirect: add support for
adapter drivers that provide DAP API") get merged, so it didn't
include a complete support for dap direct.
The merge upstream of the two commits lacks the support by command
"adapter [de]assert" for dap direct

Let command command "adapter [de]assert" handle dap direct.

Change-Id: I1a69f8ee877c8fd57598ed4ad9d71da61d15457c
Fixes: commit fafe6dfc9cd8 ("adapter: add command "adapter [de]assert srst|trst [[de]assert srst|trst]"")
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5515
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
src/jtag/core.c