arm_adi_v5: add option 'root' to 'dap info' command
authorAntonio Borneo <borneo.antonio@gmail.com>
Mon, 9 Aug 2021 13:31:10 +0000 (15:31 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Fri, 24 Jun 2022 21:38:08 +0000 (21:38 +0000)
commit8c1d518232c3105e5599099f41038212250f3798
treef0282c8ec963d4684e9b54b4c6754106c407bb89
parent3f4bc6ce7f5c5a619590c3cc05a74d6bff6a124f
arm_adi_v5: add option 'root' to 'dap info' command

On ADIv6 the system root ROM table is found by reading the DAP DP
registers BASEPTR0 and BASEPTR1.

Add option 'root' to the commands 'dap info' to let it retrieve
the system root ROM table's AP from DAP DP, then use such AP for
following dump.

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