This is an automated email from Gerrit.

Spencer Oliver ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/203

-- gerrit

commit 20fc6e8e0066d5273f1049b4f5992cf9cfb9fbf9
Author: Spencer Oliver <[email protected]>
Date:   Tue Nov 15 09:18:44 2011 +0000

    scripts: notify user of deprecated jtag_* functions
    
    Change-Id: Ia97dda6918e20fb29d6e76d43856eede8fcc60dd
    Signed-off-by: Spencer Oliver <[email protected]>

diff --git a/src/jtag/startup.tcl b/src/jtag/startup.tcl
index 1779df5..11a7977 100644
--- a/src/jtag/startup.tcl
+++ b/src/jtag/startup.tcl
@@ -91,8 +91,19 @@ add_help_text measure_clk "Runs a test to measure the JTAG 
clk. Useful with RCLK
 #
 # FIXME phase these aids out after about April 2011
 #
-proc jtag_khz args { eval adapter_khz $args }
-proc jtag_nsrst_delay args { eval adapter_nsrst_delay $args }
-proc jtag_nsrst_assert_width args { eval adapter_nsrst_assert_width $args }
+proc jtag_khz args {
+       echo "DEPRECATED! use 'adapter_khz' not 'jtag_khz'"
+       eval adapter_khz $args
+}
+
+proc jtag_nsrst_delay args {
+       echo "DEPRECATED! use 'adapter_nsrst_delay' not 'jtag_nsrst_delay'"
+       eval adapter_nsrst_delay $args
+}
+
+proc jtag_nsrst_assert_width args {
+       echo "DEPRECATED! use 'adapter_nsrst_assert_width' not 
'jtag_nsrst_assert_width'"
+       eval adapter_nsrst_assert_width $args
+}
 
 # END MIGRATION AIDS

-- 

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to