diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2010-03-15 08:37:43 -0700 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2010-03-15 08:37:43 -0700 |
commit | 96f9790279f74f39b35fc3ad09340fd03123180c (patch) | |
tree | 672f5b717c5f6edf3f7e1377341e37cd7f6497ee /src/jtag/startup.tcl | |
parent | 4b964a81ca1423b808a056b457e3d458689d50fa (diff) |
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 'src/jtag/startup.tcl')
-rw-r--r-- | src/jtag/startup.tcl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/jtag/startup.tcl b/src/jtag/startup.tcl index 4e6d5fc1..c49c43e1 100644 --- a/src/jtag/startup.tcl +++ b/src/jtag/startup.tcl @@ -75,3 +75,12 @@ add_help_text srst_deasserted "Overridable procedure run when srst deassert is d proc srst_asserted {} { puts "Sensed nSRST asserted." } + +# BEGIN MIGRATION AIDS ... these adapter operations originally had +# JTAG-specific names despite the fact that the operations were not +# specific to JTAG. +# +# FIXME phase these aids out after about April 2011 +# +proc jtag_khz args { eval adapter_khz $args } +# END MIGRATION AIDS |