diff options
author | Oleksij Rempel <linux@rempel-privat.de> | 2019-08-14 13:17:51 +0200 |
---|---|---|
committer | Oleksij Rempel <linux@rempel-privat.de> | 2020-01-29 05:35:36 +0000 |
commit | 70babcc00b5f495e4d0dbac9bad88d78592d2779 (patch) | |
tree | 8c2b14e65ac485d1d0d1f452fe8b237c17dda0ea | |
parent | 5280eb618a8cab4639f1eca567472db7e5024d13 (diff) |
move ftdi_location deprecation helper to proper place
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>
-rw-r--r-- | src/jtag/startup.tcl | 5 | ||||
-rw-r--r-- | 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 440d8ea7..2ac85715 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 4d4426f9..cf844e1f 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 -} |