jtag: Add an option to ignore the bypass bit
authorAdrien Grassein <adrien.grassein@gmail.com>
Thu, 6 Jan 2022 18:06:47 +0000 (19:06 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 22 Jan 2022 10:20:17 +0000 (10:20 +0000)
commit666ff828b2024235694e4a0b47bf360b6ce6bcd7
tree6e8dc9b66ae7d70fcf09b3a8a1cacb55b3278d3d
parente3bda57982ed87bd4d5faace5ea669848f3fe556
jtag: Add an option to ignore the bypass bit

Some CPU wrongly indicate the bypas bit in the codeid.
It's the case of the NanoXplore NG-ULTRA chip that export a
configurable (and potentially invalid) ID for one of
its component.
Add an option to ignore it.

Signed-off-by: Adrien Grassein <adrien.grassein@gmail.com>
Change-Id: Ic59743f23bfc4d4e23da0e8535fec8ca9e87ff1a
Reviewed-on: https://review.openocd.org/c/openocd/+/6802
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
doc/openocd.texi
src/jtag/core.c
src/jtag/hla/hla_tcl.c
src/jtag/jtag.h
src/jtag/tcl.c