hla_transport: split command registration per transport
authorAntonio Borneo <borneo.antonio@gmail.com>
Sun, 27 Jan 2019 14:49:34 +0000 (15:49 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 5 Sep 2020 16:10:38 +0000 (17:10 +0100)
commit60f104f45013ce0237df651e19f30181966a7256
tree2ae7664522ad06592e184926ebb5cf78ad52da51
parent1457a1ab425febd3dfceeb8c908b69135ff0b8b6
hla_transport: split command registration per transport

All the HLA transports (hla_swd and hla_jtag) register the same
set of commands. Such commands are mainly aimed at handling JTAG
compatibility that is required for the transport hla_jtag only.

Split per transport the command registration and limit the
commands to only those required by the transport itself.
Replace the command "hla newtap" with the transport specific
"swd newdap" or "jtag newtap".
Deprecate the command "hla".

Change-Id: I79c78fa97b707482608516d3824151a4d07644c0
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/4877
Tested-by: jenkins
src/jtag/hla/hla_transport.c
src/jtag/startup.tcl
tcl/target/swj-dp.tcl