diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-11-05 13:09:49 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-11-05 13:09:49 +0000 |
commit | d4c1e82d8c81b2f2938acab8bf3c12cbea137350 (patch) | |
tree | 714af0918cab3d33568f1761e903773165838ed6 /src/jtag/jtag.c | |
parent | 5be71c25ea6a4916365b050982ba9a0886e8d251 (diff) | |
download | riscv-openocd-d4c1e82d8c81b2f2938acab8bf3c12cbea137350.zip riscv-openocd-d4c1e82d8c81b2f2938acab8bf3c12cbea137350.tar.gz riscv-openocd-d4c1e82d8c81b2f2938acab8bf3c12cbea137350.tar.bz2 |
926ejs target uses rclk. Cleaned up jtag_khz output a bit.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1138 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/jtag.c')
-rw-r--r-- | src/jtag/jtag.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c index d093ee2..6a84db4 100644 --- a/src/jtag/jtag.c +++ b/src/jtag/jtag.c @@ -2019,7 +2019,13 @@ int handle_jtag_khz_command(struct command_context_s *cmd_ctx, char *cmd, char * return retval; } - command_print(cmd_ctx, "jtag_khz: %d", speed_khz); + if (speed_khz==0) + { + command_print(cmd_ctx, "RCLK - adaptive"); + } else + { + command_print(cmd_ctx, "%d kHz", speed_khz); + } return retval; } |