From: Oleksij Rempel Date: Wed, 14 Aug 2019 11:17:51 +0000 (+0200) Subject: move ftdi_location deprecation helper to proper place X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=70babcc00b5f495e4d0dbac9bad88d78592d2779;p=fw%2Fopenocd move ftdi_location deprecation helper to proper place Change-Id: I927d4e918acbf321aea1dd7a8de95fbaa8fbbbf0 Signed-off-by: Oleksij Rempel Reviewed-on: http://openocd.zylin.com/5278 Tested-by: jenkins Reviewed-by: Antonio Borneo --- diff --git a/src/jtag/startup.tcl b/src/jtag/startup.tcl index 440d8ea74..2ac857158 100644 --- a/src/jtag/startup.tcl +++ b/src/jtag/startup.tcl @@ -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 diff --git a/src/target/startup.tcl b/src/target/startup.tcl index 4d4426f98..cf844e1f6 100644 --- a/src/target/startup.tcl +++ b/src/target/startup.tcl @@ -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 -}