From 42881f95ce6dec09ad317b59ad564a997a766d95 Mon Sep 17 00:00:00 2001 From: Paul Fertser Date: Wed, 5 Feb 2014 15:08:54 +0400 Subject: [PATCH] target: add CoreSight PMU and an unidentified component to "dap info" Change-Id: I705eae46b190dbd89ab01bc086c49eb04368d9b3 Reported-by: Brad Riensche Signed-off-by: Paul Fertser Reviewed-on: http://openocd.zylin.com/1928 Tested-by: jenkins Reviewed-by: Brad Riensche 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 1f4ade09..4a1e42c0 100644 --- a/src/target/arm_adi_v5.c +++ b/src/target/arm_adi_v5.c @@ -1366,6 +1366,14 @@ static int dap_rom_display(struct command_context *cmd_ctx, type = "Cortex-R4 ETM"; full = "(Embedded Trace)"; break; + case 0x950: + type = "CoreSight Component"; + full = "(unidentified Cortex-A9 component)"; + break; + case 0x9a0: + type = "CoreSight PMU"; + full = "(Performance Monitoring Unit)"; + break; case 0x9a1: type = "Cortex-M4 TPUI"; full = "(Trace Port Interface Unit)"; -- 2.39.5