tcl/interface: replace last deprecated commands
[fw/openocd] / tcl / board / gumstix-aerocore.cfg
index ba217c0431eabe8036780d82058c0a85069abdfb..ddadc88c0b7621860e82dc045b0f14ca231aa7bc 100644 (file)
@@ -1,10 +1,12 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 # JTAG for the STM32F4x chip used on the Gumstix AeroCore is available on
 # the first interface of a Quad FTDI chip.  nTRST is bit 4.
-interface ftdi
-ftdi_vid_pid 0x0403 0x6011
+adapter driver ftdi
+ftdi vid_pid 0x0403 0x6011
 
-ftdi_layout_init 0x0000 0x001b
-ftdi_layout_signal nTRST -data 0x0010
+ftdi layout_init 0x0000 0x001b
+ftdi layout_signal nTRST -data 0x0010
 
 source [find target/stm32f4x.cfg]
 reset_config trst_only