From 96f9790279f74f39b35fc3ad09340fd03123180c Mon Sep 17 00:00:00 2001 From: David Brownell Date: Mon, 15 Mar 2010 08:37:43 -0700 Subject: rename jtag_khz as adapter_khz Globally rename "jtag_khz" as "adapter_khz", and move it out of the "jtag" command group ... it needs to be used with non-JTAG transports Includes a migration aid (in jtag/startup.tcl) so that old user scripts won't break. That aid should Sunset in about a year. (We may want to update it to include a nag message too.) Signed-off-by: David Brownell --- tcl/target/c100helper.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tcl/target/c100helper.tcl') diff --git a/tcl/target/c100helper.tcl b/tcl/target/c100helper.tcl index 96588713..1fd58b65 100644 --- a/tcl/target/c100helper.tcl +++ b/tcl/target/c100helper.tcl @@ -504,7 +504,7 @@ proc reboot {} { mww $TIMER_WDT_HIGH_BOUND 0xffffff mww $TIMER_WDT_CURRENT_COUNT 0x0 puts "JTAG speed lowered to 100kHz" - jtag_khz 100 + adapter_khz 100 mww $TIMER_WDT_CONTROL 0x1 # wait until the reset puts -nonewline "Wating for watchdog to trigger..." -- cgit v1.2.3