From 70babcc00b5f495e4d0dbac9bad88d78592d2779 Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Wed, 14 Aug 2019 13:17:51 +0200 Subject: [PATCH] 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 --- src/jtag/startup.tcl | 5 +++++ src/target/startup.tcl | 6 ------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/jtag/startup.tcl b/src/jtag/startup.tcl index 440d8ea740..2ac8571582 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 4d4426f98c..cf844e1f64 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 -} -- 2.30.2