arm_adi_v5: add support for display Class 0x9 ROM tables
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 7 Jul 2021 03:19:28 +0000 (20:19 -0700)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 14 May 2022 08:48:10 +0000 (08:48 +0000)
commit1fd2a6c7f5cba7c5ec655e355e63dd31804bb900
treea5b00f68ae1a6e54a8886d63c28497db1198cae9
parentfed329feec985b74961f5209c824ba3ca618eea7
arm_adi_v5: add support for display Class 0x9 ROM tables

ADI v5.1 and v6.0 permit the definition of CoreSight components (class 9
ROM entries).

dap_rom_display() is refactored a bit such that we always end up with
attempting to parse the ROM contents using the appropriate upper limit
for class 1 and 9 ROM types.

Change-Id: I4ba497b3807f1f11f06186eb6e61959ea3540c59
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6359
Tested-by: jenkins
src/target/arm_adi_v5.c