Change jtag_rclk behaviour so it can be called before the interface init function

git-svn-id: svn://svn.berlios.de/openocd/trunk@2590 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
ntfreak
2009-08-18 12:14:01 +00:00
parent 7b4428df97
commit bb5086b83e
4 changed files with 133 additions and 41 deletions

View File

@@ -134,15 +134,6 @@ proc ocd_gdb_restart {target_num} {
reset halt
}
# If RCLK is not supported, use fallback_speed_khz
proc jtag_rclk {fallback_speed_khz} {
if {[catch {jtag_khz 0}]!=0} {
jtag_khz $fallback_speed_khz
}
}
add_help_text jtag_rclk "fallback_speed_khz - set JTAG speed to RCLK or use fallback speed"
proc ocd_process_reset { MODE } {
# If this target must be halted...