move ftdi_location deprecation helper to proper place
authorOleksij Rempel <linux@rempel-privat.de>
Wed, 14 Aug 2019 11:17:51 +0000 (13:17 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Wed, 29 Jan 2020 05:35:36 +0000 (05:35 +0000)
Change-Id: I927d4e918acbf321aea1dd7a8de95fbaa8fbbbf0
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Reviewed-on: http://openocd.zylin.com/5278
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
src/jtag/startup.tcl
src/target/startup.tcl

index 440d8ea7400a9e7d3c2b7b0a863a83a2a95a65f3..2ac85715826e3054f6f649cc0539f9de3fe4e653 100644 (file)
@@ -211,4 +211,9 @@ proc  interface_list args {
        eval adapter list $args
 }
 
+proc ftdi_location args {
+       echo "DEPRECATED! use 'adapter usb location' not 'ftdi_location'"
+       eval adapter usb location $args
+}
+
 # END MIGRATION AIDS
index 4d4426f98cff971d32bce73f9826f41a4324addc..cf844e1f64c3734a0f5b76978688c52048e52b1b 100644 (file)
@@ -221,9 +221,3 @@ proc cortex_a8 args {
        echo "DEPRECATED! use 'cortex_a' not 'cortex_a8'"
        eval cortex_a $args
 }
-
-# deprecated ftdi cmds
-proc ftdi_location args {
-       echo "DEPRECATED! use 'adapter usb location' not 'ftdi_location'"
-       eval adapter usb location $args
-}