summaryrefslogtreecommitdiff
path: root/src/target/arm11_dbgtap.c
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-11-13 16:22:36 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-11-13 16:22:36 -0800
commita7f5cdf999cd3fb8d3a681bcb6d8f8880faf8a11 (patch)
tree5719f202e9a4c0ca4ca2996bb452d238537667c5 /src/target/arm11_dbgtap.c
parent04b514707f221ba00ae789e69f6f8047af96125d (diff)
downloadopenocd+libswd-a7f5cdf999cd3fb8d3a681bcb6d8f8880faf8a11.tar.gz
openocd+libswd-a7f5cdf999cd3fb8d3a681bcb6d8f8880faf8a11.tar.bz2
openocd+libswd-a7f5cdf999cd3fb8d3a681bcb6d8f8880faf8a11.tar.xz
openocd+libswd-a7f5cdf999cd3fb8d3a681bcb6d8f8880faf8a11.zip
ARM11: switch to new "arm" base type
This will enable reusing many common ARM utilities, in particular the ETM and ETB support. The ARM11 support can still be much simplified after this patch, though. Note: none of those common utilities kick in yet... Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/arm11_dbgtap.c')
-rw-r--r--src/target/arm11_dbgtap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/target/arm11_dbgtap.c b/src/target/arm11_dbgtap.c
index 65d4f821..40361dc4 100644
--- a/src/target/arm11_dbgtap.c
+++ b/src/target/arm11_dbgtap.c
@@ -178,6 +178,8 @@ int arm11_add_debug_SCAN_N(struct arm11_common * arm11, uint8_t chain, tap_state
arm11_in_handler_SCAN_N(tmp);
+ arm11->jtag_info.cur_scan_chain = chain;
+
return jtag_execute_queue();
}