From 30203b3d8b8cf77986245dc1fd331697f36b5c05 Mon Sep 17 00:00:00 2001 From: Peter Lawrence Date: Sat, 1 Nov 2014 17:31:49 -0700 Subject: [PATCH] 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 Reviewed-on: http://openocd.zylin.com/2369 Tested-by: jenkins Reviewed-by: Andreas Fritiofson --- src/target/arm_adi_v5.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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)"; -- 2.39.5