aboutsummaryrefslogtreecommitdiff
path: root/src/target/arm_adi_v5.c
diff options
context:
space:
mode:
authorOlivier Schonken <olivier.schonken@gmail.com>2015-01-20 14:17:20 +0200
committerPaul Fertser <fercerpav@gmail.com>2015-02-11 16:17:58 +0000
commit6e32887f917b8e5a870e2d485139820ee5161b4f (patch)
treeeab24e30009b04f513f4c4bf31aeb3417cadd19d /src/target/arm_adi_v5.c
parent3f9f7de7b0dc57e435d90ebde2bccf31bf4f0270 (diff)
cortex_a: Add Cortex-A5 identification
Add Cortex-A5 identification to ROM-table display, and also to cortex_a_init_debug_access. This change is mostly cosmetic. Change-Id: I7b1dd8755d70d45eb5f315aa1918d44a813b3cdf Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com> Reviewed-on: http://openocd.zylin.com/2483 Tested-by: jenkins Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Diffstat (limited to 'src/target/arm_adi_v5.c')
-rw-r--r--src/target/arm_adi_v5.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/target/arm_adi_v5.c b/src/target/arm_adi_v5.c
index 7bb2a0b2..1576d766 100644
--- a/src/target/arm_adi_v5.c
+++ b/src/target/arm_adi_v5.c
@@ -1331,6 +1331,14 @@ static int dap_rom_display(struct command_context *cmd_ctx,
type = "Cortex-M4 TPUI";
full = "(Trace Port Interface Unit)";
break;
+ case 0x9a5:
+ type = "Cortex-A5 ETM";
+ full = "(Embedded Trace)";
+ break;
+ case 0xc05:
+ type = "Cortex-A5 Debug";
+ full = "(Debug Unit)";
+ break;
case 0xc08:
type = "Cortex-A8 Debug";
full = "(Debug Unit)";