From: Peter Lawrence Date: Sun, 2 Nov 2014 00:31:49 +0000 (-0700) Subject: arm_adi_v5: added two CoreSight peripheral IDs X-Git-Tag: v0.9.0-rc1~239 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=30203b3d8b8cf77986245dc1fd331697f36b5c05 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 --- diff --git a/src/target/arm_adi_v5.c b/src/target/arm_adi_v5.c index a059531534..c76cc69072 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)";