From 7b617abb8af630e2b8067572e82d0240c4dc5057 Mon Sep 17 00:00:00 2001 From: Alexander Stein Date: Fri, 8 May 2015 15:50:27 +0200 Subject: [PATCH] arm_adi_v5: add Cortex-A7 peripheral IDs This adds the peripheral IDs found on a Raspberry Pi 2 (BCM2836 with 4 Cortex-A7 cores). Change-Id: I2b3df87aed0b4320df3bc6d5fe9379baf5d33e5e Signed-off-by: Alexander Stein --- 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 f7e58d08b8..03f516e69a 100644 --- a/src/target/arm_adi_v5.c +++ b/src/target/arm_adi_v5.c @@ -1353,10 +1353,18 @@ static int dap_rom_display(struct command_context *cmd_ctx, type = "Cortex-A5 ETM"; full = "(Embedded Trace)"; break; + case 0x9a7: + type = "Cortex-A7 PMU"; + full = "(Performance Monitoring Unit)"; + break; case 0xc05: type = "Cortex-A5 Debug"; full = "(Debug Unit)"; break; + case 0xc07: + type = "Cortex-A7 Debug"; + full = "(Debug Unit)"; + break; case 0xc08: type = "Cortex-A8 Debug"; full = "(Debug Unit)";