aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEvan Hunter <ehunter@broadcom.com>2012-09-25 16:41:49 +1000
committerSpencer Oliver <spen@spen-soft.co.uk>2012-09-27 14:07:19 +0000
commit4dd8f8aa40098114d98c369933e2715b207be735 (patch)
tree0cac0ff7b64702b329286a30bce7809a1468c660 /src
parent516719b6b8ac35c14396f9a0cbdc355be4e45c10 (diff)
downloadriscv-openocd-4dd8f8aa40098114d98c369933e2715b207be735.zip
riscv-openocd-4dd8f8aa40098114d98c369933e2715b207be735.tar.gz
riscv-openocd-4dd8f8aa40098114d98c369933e2715b207be735.tar.bz2
Add extra Coresight component ROM identifiers for the Cortex-M4
Signed-off-by: Evan Hunter <ehunter@broadcom.com> Change-Id: Iaf2d69cf10c341d3a516986677f69a4389b29b1a Reviewed-on: http://openocd.zylin.com/841 Tested-by: jenkins Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com> Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/target/arm_adi_v5.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/target/arm_adi_v5.c b/src/target/arm_adi_v5.c
index eed84ce..65d29f0 100644
--- a/src/target/arm_adi_v5.c
+++ b/src/target/arm_adi_v5.c
@@ -1586,6 +1586,10 @@ static int dap_info_command(struct command_context *cmd_ctx,
type = "Cortex-M3 FBP";
full = "(Flash Patch and Breakpoint)";
break;
+ case 0x00c:
+ type = "Cortex-M4 SCS";
+ full = "(System Control Space)";
+ break;
case 0x00d:
type = "CoreSight ETM11";
full = "(Embedded Trace)";
@@ -1635,10 +1639,18 @@ static int dap_info_command(struct command_context *cmd_ctx,
type = "Cortex-M3 ETM";
full = "(Embedded Trace)";
break;
+ case 0x925:
+ type = "Cortex-M4 ETM";
+ full = "(Embedded Trace)";
+ break;
case 0x930:
type = "Cortex-R4 ETM";
full = "(Embedded Trace)";
break;
+ case 0x9a1:
+ type = "Cortex-M4 TPUI";
+ full = "(Trace Port Interface Unit)";
+ break;
case 0xc08:
type = "Cortex-A8 Debug";
full = "(Debug Unit)";