]> git.gag.com Git - fw/openocd/commit
target/arm_cti: use adiv5_jim_mem_ap_spot_configure()
authorAntonio Borneo <borneo.antonio@gmail.com>
Sat, 17 Oct 2020 14:27:13 +0000 (16:27 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Wed, 4 Nov 2020 17:37:25 +0000 (17:37 +0000)
commitec0c23a3ab3908d9f573f7bd9b0fa33a11ec49ba
treea2d6d01e631787561346a3c6a61f67bdd833a2e0
parent080fab2ecdcc495f68176ea72a7fc75f99ccb20e
target/arm_cti: use adiv5_jim_mem_ap_spot_configure()

To avoid code duplication, reorganize the code to replace
cti_configure() with adiv5_jim_mem_ap_spot_configure().

Reorganize 'struct arm_cti_object' and its sub-'struct arm_cti'
moving DAP and mem-AP info in a 'struct adiv5_mem_ap_spot'.
Replace cti_configure() with adiv5_jim_mem_ap_spot_configure().
Deprecate the use of '-ctibase' in favor of '-baseaddr'.

Change-Id: I43740a37c80de67c0f5e4dc79c3400b91a12e9e8
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5869
Tested-by: jenkins
doc/openocd.texi
src/target/arm_adi_v5.c
src/target/arm_cti.c