tcl/interface: add SPDX tag
[fw/openocd] / tcl / interface / ftdi / olimex-jtag-tiny.cfg
index 1807566d163b1d89d0920678f76be100221b7bba..7d8e81da3c3bafd66df46be6a45783629a6b7948 100644 (file)
@@ -1,20 +1,16 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 #
 # Olimex ARM-USB-TINY
 #
 # http://www.olimex.com/dev/arm-usb-tiny.html
 #
 
-echo "WARNING!"
-echo "This file was not tested with real interface, but is assumed to work as this"
-echo "interface uses the same layout as configs that were verified. Please report your"
-echo "experience with this file to openocd-devel mailing list, so it could be marked"
-echo "as working or fixed."
-
-interface ftdi
-ftdi_device_desc "Olimex OpenOCD JTAG TINY"
-ftdi_vid_pid 0x15ba 0x0004
+adapter driver ftdi
+ftdi device_desc "Olimex OpenOCD JTAG TINY"
+ftdi vid_pid 0x15ba 0x0004
 
-ftdi_layout_init 0x0c08 0x0f1b
-ftdi_layout_signal nSRST -oe 0x0200
-ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400
-ftdi_layout_signal LED -data 0x0800
+ftdi layout_init 0x0808 0x0a1b
+ftdi layout_signal nSRST -oe 0x0200
+ftdi layout_signal nTRST -data 0x0100 -oe 0x0100
+ftdi layout_signal LED -data 0x0800