summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias K <kesmtp@freenet.de>2011-01-27 09:16:09 +0100
committerSpencer Oliver <ntfreak@users.sourceforge.net>2011-01-27 10:33:20 +0000
commite26bda10bc8bba1721ffddecd41a79acc3586331 (patch)
tree049dc48c7e79145e0bef8d87ff210ca00a3fcefc
parent6df10184f654cb235b270c49fd12486ec8c59882 (diff)
downloadopenocd+libswd-e26bda10bc8bba1721ffddecd41a79acc3586331.tar.gz
openocd+libswd-e26bda10bc8bba1721ffddecd41a79acc3586331.tar.bz2
openocd+libswd-e26bda10bc8bba1721ffddecd41a79acc3586331.tar.xz
openocd+libswd-e26bda10bc8bba1721ffddecd41a79acc3586331.zip
add cortex-r4 etm id to dap info
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
-rw-r--r--src/target/arm_adi_v5.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/target/arm_adi_v5.c b/src/target/arm_adi_v5.c
index 7b801b99..2695c463 100644
--- a/src/target/arm_adi_v5.c
+++ b/src/target/arm_adi_v5.c
@@ -1426,8 +1426,9 @@ static int dap_info_command(struct command_context *cmd_ctx,
/* Part number interpretations are from Cortex
* core specs, the CoreSight components TRM
- * (ARM DDI 0314H), and ETM specs; also from
- * chip observation (e.g. TI SDTI).
+ * (ARM DDI 0314H), CoreSight System Design
+ * Guide (ARM DGI 0012D) and ETM specs; also
+ * from chip observation (e.g. TI SDTI).
*/
part_num = (c_pid0 & 0xff);
part_num |= (c_pid1 & 0x0f) << 8;
@@ -1497,6 +1498,10 @@ static int dap_info_command(struct command_context *cmd_ctx,
type = "Cortex-M3 ETM";
full = "(Embedded Trace)";
break;
+ case 0x930:
+ type = "Cortex-R4 ETM";
+ full = "(Embedded Trace)";
+ break;
case 0xc08:
type = "Cortex-A8 Debug";
full = "(Debug Unit)";