diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-24 21:13:29 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-24 21:13:29 +0000 |
commit | ad8f1b42956bdf463ce85ed741e1f62ba91ae62f (patch) | |
tree | 37a88aedbeb7ce6f63f3f08280f664a9c661cc85 /src/jtag/jtag.c | |
parent | 5ecae346cc675cf269d5e3371a7d05181d570cdb (diff) | |
download | riscv-openocd-ad8f1b42956bdf463ce85ed741e1f62ba91ae62f.zip riscv-openocd-ad8f1b42956bdf463ce85ed741e1f62ba91ae62f.tar.gz riscv-openocd-ad8f1b42956bdf463ce85ed741e1f62ba91ae62f.tar.bz2 |
David Brownell <david-b@pacbell.net>:
Doc (mostly) update for jtag_khz:
- switch to @deffn syntax
- add entry for "jtag_rclk"
- move deprecated "jtag_speed" into collection of deprecated calls
And for ft2232, don't be the only adapter to *log* an error if RTCK
is requested; it's already reported properly, like any other nonfatal
command parameter. "jtag_rclk" just works as expected, without any
scarey messages.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1910 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/jtag.c')
-rw-r--r-- | src/jtag/jtag.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c index fce0eb8..56a8075 100644 --- a/src/jtag/jtag.c +++ b/src/jtag/jtag.c @@ -2315,9 +2315,10 @@ int jtag_register_commands(struct command_context_s *cmd_ctx) register_command(cmd_ctx, NULL, "interface", handle_interface_command, COMMAND_CONFIG, "try to configure interface"); register_command(cmd_ctx, NULL, "jtag_speed", handle_jtag_speed_command, - COMMAND_ANY, "set jtag speed (if supported)"); + COMMAND_ANY, "(DEPRECATED) set jtag speed (if supported)"); register_command(cmd_ctx, NULL, "jtag_khz", handle_jtag_khz_command, - COMMAND_ANY, "same as jtag_speed, except it takes maximum khz as arguments. 0 KHz = RTCK."); + COMMAND_ANY, "set maximum jtag speed (if supported); " + "parameter is maximum khz, or 0 for adaptive clocking (RTCK)."); 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, |