jtag: hla: use generic helper for commands 'jtag newtap' 'swd newdap'
commitcda39f929e65316478f2f41f461b0cbb3338806c
authorAntonio Borneo <borneo.antonio@gmail.com>
Sun, 1 Jan 2023 18:17:18 +0000 (1 19:17 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sun, 15 Jan 2023 15:12:05 +0000 (15 15:12 +0000)
tree278a0d042edb6fc05fdb6d8eccee78e1d0b41128
parent7a890a8f256f28b1c8b0dde3b62ab81c7c139d55
jtag: hla: use generic helper for commands 'jtag newtap' 'swd newdap'

The commands 'jtag newtap' and 'swd newdap' have to work either on
HLA transport and on standard JTAG/SWD. Having a dedicated
implementation for HLA is a non-sense.

Reuse the generic code jim_jtag_newtap() and drop the files
hla_tcl.[ch] as they are now empty.

Change-Id: I9dabbdc2a6f338f23b2fd3ed1a4dc3da0200c080
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7428
Tested-by: jenkins
src/jtag/hla/Makefile.am
src/jtag/hla/hla_interface.c
src/jtag/hla/hla_layout.c
src/jtag/hla/hla_tcl.c [deleted file]
src/jtag/hla/hla_tcl.h [deleted file]
src/jtag/hla/hla_transport.c