tcl/interface: replace last deprecated commands
[fw/openocd] / tcl / interface / ftdi / digilent_jtag_hs3.cfg
index f7b8e570cc2ca998aef402ca029aa409a6c74aa6..78a233feb57f4352acf0e36d41255baf201f2590 100644 (file)
@@ -1,13 +1,15 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 #
 # Digilent JTAG-HS3
 #
 
-interface ftdi
-ftdi_vid_pid 0x0403 0x6014
-ftdi_device_desc "Digilent USB Device"
+adapter driver ftdi
+ftdi vid_pid 0x0403 0x6014
+ftdi device_desc "Digilent USB Device"
 
 # From Digilent support:
 # The SRST pin is [...] 0x20 and 0x10 is the /OE (active low output enable)
 
-ftdi_layout_init 0x2088 0x308b
-ftdi_layout_signal nSRST -data 0x2000 -noe 0x1000
+ftdi layout_init 0x2088 0x308b
+ftdi layout_signal nSRST -data 0x2000 -noe 0x1000