tcl/interface: add SPDX tag
[fw/openocd] / tcl / interface / ftdi / minispartan6.cfg
index 8f1601192b7c01057cb0f058a2d634c1876dc53c..f12bae621c08a870db88b63ac53d0c2be0055dc3 100644 (file)
@@ -1,15 +1,17 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 # https://www.scarabhardware.com/minispartan6/
 # https://github.com/scarabhardware/miniSpartan6-plus/raw/master/miniSpartan6%2B_Rev_B.pdf
-interface ftdi
+adapter driver ftdi
 # The miniSpartan6+ sadly doesn't have a custom device description, so we just
 # have to hope you got it right.
-#ftdi_device_desc "Dual RS232-HS"
-ftdi_vid_pid 0x0403 0x6010
+#ftdi device_desc "Dual RS232-HS"
+ftdi vid_pid 0x0403 0x6010
 # interface 1 is the uart
-ftdi_channel 0
+ftdi channel 0
 # just TCK TDI TDO TMS, no reset
-ftdi_layout_init 0x0008 0x000b
+ftdi layout_init 0x0008 0x000b
 reset_config none
 # this generally works fast: the fpga can handle 30MHz, the spi flash can handle
 # 54MHz with simple read, no dummy cycles, and wait-for-write-completion
-adapter_khz 30000
+adapter speed 30000