]> git.gag.com Git - fw/openocd/commit
arm_adi_v5: separate ROM table parsing from command output [2/3]
authorAntonio Borneo <borneo.antonio@gmail.com>
Sun, 16 Jan 2022 12:59:38 +0000 (13:59 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 14 May 2022 08:54:25 +0000 (08:54 +0000)
commitc83b94b2c8a77adfe7febc2e340ffcd9ce9a6c97
tree6bec549c9f77756ad598f5d286965118641f22f2
parent21f7885d1c2aa8a8f3d6967d8ee2910570e5cc11
arm_adi_v5: separate ROM table parsing from command output [2/3]

This change only targets the output of rtp_cs_component().
To easily propagate the coordinates of the CoreSight component,
add them in the struct that holds the register values.
While there, define a macro for the max depth of ROM tables.

Change-Id: I75e5ef4f9419da3192123aebcd61471c2af9374f
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6820
Tested-by: jenkins
src/target/arm_adi_v5.c
src/target/arm_coresight.h