diff options
author | Peter Lawrence <majbthrd@gmail.com> | 2014-11-01 17:31:49 -0700 |
---|---|---|
committer | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2014-11-03 19:30:59 +0000 |
commit | 30203b3d8b8cf77986245dc1fd331697f36b5c05 (patch) | |
tree | 46093fb453d210e341edc8b4237f655825ac0ab7 /src/target/arm_adi_v5.c | |
parent | cbb797bdccbce7cff7f0121955950bf318da0f02 (diff) |
arm_adi_v5: added two CoreSight peripheral IDs
added "Single Wire Output" and "Trace Memory Controller" peripheral
IDs to dap_rom_display(), which is invoked by the "dap info" command
Change-Id: Iea3201007bb98e6376fbb50be40a4a2e031b0a03
Signed-off-by: Peter Lawrence <majbthrd@gmail.com>
Reviewed-on: http://openocd.zylin.com/2369
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Diffstat (limited to 'src/target/arm_adi_v5.c')
-rw-r--r-- | src/target/arm_adi_v5.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/target/arm_adi_v5.c b/src/target/arm_adi_v5.c index a0595315..c76cc690 100644 --- a/src/target/arm_adi_v5.c +++ b/src/target/arm_adi_v5.c @@ -1275,6 +1275,10 @@ static int dap_rom_display(struct command_context *cmd_ctx, type = "Coresight ITM"; full = "(Instrumentation Trace Macrocell)"; break; + case 0x914: + type = "Coresight SWO"; + full = "(Single Wire Output)"; + break; case 0x917: type = "Coresight HTM"; full = "(AHB Trace Macrocell)"; @@ -1311,6 +1315,10 @@ static int dap_rom_display(struct command_context *cmd_ctx, type = "CoreSight Component"; full = "(unidentified Cortex-A9 component)"; break; + case 0x961: + type = "CoreSight TMC"; + full = "(Trace Memory Controller)"; + break; case 0x962: type = "CoreSight STM"; full = "(System Trace Macrocell)"; |