summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomek CEDRO <cederom@tlen.pl>2011-09-10 22:13:50 +0000
committerTomek CEDRO <cederom@tlen.pl>2011-09-10 22:13:50 +0000
commit7206efdd9e7aa79666ce599116872a5244d32d9e (patch)
tree329d1f181b1188a48085deb53ea6a58a7e747757
parentf6a4f77a92edc3d4850f6b046df00c81a341c09c (diff)
downloadopenocd_libswd-7206efdd9e7aa79666ce599116872a5244d32d9e.tar.gz
openocd_libswd-7206efdd9e7aa79666ce599116872a5244d32d9e.tar.bz2
openocd_libswd-7206efdd9e7aa79666ce599116872a5244d32d9e.tar.xz
openocd_libswd-7206efdd9e7aa79666ce599116872a5244d32d9e.zip
transport/swd: We stay with the name TAP as the 'plug' into DAP.
-rw-r--r--src/transport/swd_tcl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transport/swd_tcl.c b/src/transport/swd_tcl.c
index 9fdc4d08..d75ad740 100644
--- a/src/transport/swd_tcl.c
+++ b/src/transport/swd_tcl.c
@@ -43,6 +43,7 @@
//we need to use this until we get rid of global pointers
extern struct jtag_interface *jtag_interface;
+
COMMAND_HANDLER(handle_swd_loglevel)
{
int loglevel;
@@ -87,7 +88,7 @@ static const struct command_registration swd_subcommand_handlers[] = {
*
* REVISIT can we verify "just one SWD DAP" here/early?
*/
- .name = "newdap",
+ .name = "newtap",
.jim_handler = jim_jtag_newtap,
.mode = COMMAND_CONFIG,
.help = "declare a new SWD DAP"