aboutsummaryrefslogtreecommitdiff
path: root/tcl/target/str750.cfg
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2010-03-15 08:37:43 -0700
committerDavid Brownell <dbrownell@users.sourceforge.net>2010-03-15 08:37:43 -0700
commit96f9790279f74f39b35fc3ad09340fd03123180c (patch)
tree672f5b717c5f6edf3f7e1377341e37cd7f6497ee /tcl/target/str750.cfg
parent4b964a81ca1423b808a056b457e3d458689d50fa (diff)
downloadriscv-openocd-96f9790279f74f39b35fc3ad09340fd03123180c.zip
riscv-openocd-96f9790279f74f39b35fc3ad09340fd03123180c.tar.gz
riscv-openocd-96f9790279f74f39b35fc3ad09340fd03123180c.tar.bz2
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 <dbrownell@users.sourceforge.net>
Diffstat (limited to 'tcl/target/str750.cfg')
-rw-r--r--tcl/target/str750.cfg6
1 files changed, 3 insertions, 3 deletions
diff --git a/tcl/target/str750.cfg b/tcl/target/str750.cfg
index c467ae2..c2fb786 100644
--- a/tcl/target/str750.cfg
+++ b/tcl/target/str750.cfg
@@ -19,7 +19,7 @@ if { [info exists CPUTAPID] } {
}
# jtag speed
-jtag_khz 10
+adapter_khz 10
#use combined on interfaces or targets that can't set TRST/SRST separately
reset_config trst_and_srst srst_pulls_trst
@@ -35,9 +35,9 @@ jtag_ntrst_delay 500
set _TARGETNAME $_CHIPNAME.cpu
target create $_TARGETNAME arm7tdmi -endian little -chain-position 0 -variant arm7tdmi
-$_TARGETNAME configure -event reset-start { jtag_khz 10 }
+$_TARGETNAME configure -event reset-start { adapter_khz 10 }
$_TARGETNAME configure -event reset-init {
- jtag_khz 3000
+ adapter_khz 3000
# Because the hardware cannot be interrogated for the protection state
# of sectors, initialize all the sectors to be unprotected. The initial