tcl/board: add SPDX tag
[fw/openocd] / tcl / board / openrd.cfg
index 14593fd4103a2f645df1104fc18ad1b16b37f816..f6c8317700af639b40f6a6d9815ade86c04914bd 100644 (file)
@@ -1,8 +1,12 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 # Marvell OpenRD
 
-source [find interface/openrd.cfg]
+source [find interface/ftdi/openrd.cfg]
 source [find target/feroceon.cfg]
 
+adapter speed 2000
+
 $_TARGETNAME configure \
        -work-area-phys 0x10000000 \
        -work-area-size 65536 \
@@ -23,10 +27,10 @@ proc openrd_init { } {
        # possible that initial tap examination failed.  So let's
        # re-examine the target again here when nSRST is asserted which
        # should then succeed.
-       jtag_reset 0 1
+       adapter assert srst
        feroceon.cpu arp_examine
        halt 0
-       jtag_reset 0 0
+       adapter deassert srst
        wait_halt
 
        arm mcr 15 0 0 1 0 0x00052078
@@ -120,4 +124,3 @@ proc openrd_load_uboot { } {
        resume 0x00600000
 
 }
-