summaryrefslogtreecommitdiff
path: root/src/jtag
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-18 06:24:57 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-07-18 06:24:57 +0000
commit679592d42e5db7e8a2485b66aabc4c5ec76307e4 (patch)
treec51f3dcc50ef6e8b5c6d1b7f16334898cdf4614e /src/jtag
parentb504e11abea041f29ee4a11183dc3b93f858c7ee (diff)
downloadopenocd+libswd-679592d42e5db7e8a2485b66aabc4c5ec76307e4.tar.gz
openocd+libswd-679592d42e5db7e8a2485b66aabc4c5ec76307e4.tar.bz2
openocd+libswd-679592d42e5db7e8a2485b66aabc4c5ec76307e4.tar.xz
openocd+libswd-679592d42e5db7e8a2485b66aabc4c5ec76307e4.zip
Charles Hardin <ckhardin@gmail.com> move tcl stuff nearer to where it belongs.
git-svn-id: svn://svn.berlios.de/openocd/trunk@824 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag')
-rw-r--r--src/jtag/jtag.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c
index 2b1a56fb..3b1e8b0a 100644
--- a/src/jtag/jtag.c
+++ b/src/jtag/jtag.c
@@ -32,9 +32,6 @@
#include "string.h"
#include <unistd.h>
-#include "openocd_tcl.h"
-
-
/* note that this is not marked as static as it must be available from outside jtag.c for those
that implement the jtag_xxx() minidriver layer
*/
@@ -1498,7 +1495,7 @@ int jtag_register_commands(struct command_context_s *cmd_ctx)
COMMAND_EXEC, "move to Run-Test/Idle, and execute <num_cycles>");
register_command(cmd_ctx, NULL, "irscan", handle_irscan_command,
COMMAND_EXEC, "execute IR scan <device> <instr> [dev2] [instr2] ...");
- add_jim("drscan", Jim_Command_drscan, "execute DR scan <device> <num_bits> <value> <num_bits1> <value2> ...");
+ register_jim(cmd_ctx, "drscan", Jim_Command_drscan, "execute DR scan <device> <num_bits> <value> <num_bits1> <value2> ...");
register_command(cmd_ctx, NULL, "verify_ircapture", handle_verify_ircapture_command,
COMMAND_ANY, "verify value captured during Capture-IR <enable|disable>");