target/adi_v5_jtag: Add support for 8-bit IR JTAG-DP
authorroot <acalando@free.fr>
Thu, 3 Jun 2021 09:37:37 +0000 (11:37 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sun, 22 Aug 2021 20:27:59 +0000 (20:27 +0000)
commit3f1c15d2a718c9d417c859172f2b1736a769d822
tree11d660b6baa45b4b9cc698b2b1014c3d29ee06e1
parent347b88a3e1997566dc44dae118de8252138833ff
target/adi_v5_jtag: Add support for 8-bit IR JTAG-DP

As per Arm Debug Interface Architecture Specification (ADIv5.0 to
ADIv5.2), B3.3.1, the JTAG-DP as an IR length of 4 or 8 bits
depending on the ARM implementation. The current code
only support 4-bit and this patch extends the support to 8-bit IR.
Not tested back yet on a 4-bit target.

Change-Id: Ie4f875dc336caf014c6cfced57574b54d0970623
Signed-off-by: Antoine C. <acalando@free.fr>
Reviewed-on: https://review.openocd.org/c/openocd/+/6285
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
src/target/adi_v5_jtag.c