From: Antonio Borneo Date: Wed, 7 Apr 2021 13:18:04 +0000 (+0200) Subject: doc: do not document commands that are already deprecated X-Git-Tag: v0.12.0-rc1~791 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=833a2a56f4649d4a59738d902405f1093adf4e58;hp=3ebcb62f9ff2f1c7a99a6207b158219b9892e72a doc: do not document commands that are already deprecated The command 'ftdi_location' is deprecated and a TCL procedure is in place to direct the user to the replacement command. There is no need to document the deprecated command. Remove 'ftdi_location' from the documentation. Change-Id: Ia431c6b0e7444d3f3288c088429bfb47089ff1b5 Signed-off-by: Antonio Borneo Reviewed-on: http://openocd.zylin.com/6154 Tested-by: jenkins Reviewed-by: Marc Schink --- diff --git a/doc/openocd.texi b/doc/openocd.texi index 44dcbdb8a4..3523a222a9 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -2517,19 +2517,6 @@ If not specified, serial numbers are not considered. and are not restricted to containing only decimal digits.) @end deffn -@deffn {Config Command} {ftdi_location} -[.]... -@emph{DEPRECATED -- avoid using this. -Use the command @ref{adapter_usb_location,,adapter usb location} instead.} - -Specifies the physical USB port of the adapter to use. The path -roots at @var{bus} and walks down the physical ports, with each -@var{port} option specifying a deeper level in the bus topology, the last -@var{port} denoting where the target adapter is actually plugged. -The USB bus topology can be queried with the command @emph{lsusb -t}. - -This command is only available if your libusb1 is at least version 1.0.16. -@end deffn - @deffn {Config Command} {ftdi_channel} channel Selects the channel of the FTDI device to use for MPSSE operations. Most adapters use the default, channel 0, but there are exceptions.