summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-01-09 11:43:15 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-01-09 11:43:15 +0000
commit5bbf2ae519c31b45e7609918a1bc36b849ba53f5 (patch)
tree40f3f4a79e781a492633b96c8a619d1fb9c613af /src
parent42532ddeaab011992b501d28da9d9358b5bc49c2 (diff)
downloadopenocd_libswd-5bbf2ae519c31b45e7609918a1bc36b849ba53f5.tar.gz
openocd_libswd-5bbf2ae519c31b45e7609918a1bc36b849ba53f5.tar.bz2
openocd_libswd-5bbf2ae519c31b45e7609918a1bc36b849ba53f5.tar.xz
openocd_libswd-5bbf2ae519c31b45e7609918a1bc36b849ba53f5.zip
allow issuing reset_config on the fly. Faster turnaround times in testing.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1310 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r--src/jtag/jtag.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c
index 5ce99894..9477124f 100644
--- a/src/jtag/jtag.c
+++ b/src/jtag/jtag.c
@@ -2172,7 +2172,8 @@ int jtag_register_commands(struct command_context_s *cmd_ctx)
register_command(cmd_ctx, NULL, "jtag_device", handle_jtag_device_command,
COMMAND_CONFIG, "jtag_device <ir_length> <ir_expected> <ir_mask>");
register_command(cmd_ctx, NULL, "reset_config", handle_reset_config_command,
- COMMAND_CONFIG, NULL);
+ COMMAND_ANY,
+ "[none/trst_only/srst_only/trst_and_srst] [srst_pulls_trst/trst_pulls_srst] [combined/separate] [trst_push_pull/trst_open_drain] [srst_push_pull/srst_open_drain]");
register_command(cmd_ctx, NULL, "jtag_nsrst_delay", handle_jtag_nsrst_delay_command,
COMMAND_ANY, "jtag_nsrst_delay <ms> - delay after deasserting srst in ms");
register_command(cmd_ctx, NULL, "jtag_ntrst_delay", handle_jtag_ntrst_delay_command,