tcl/board: add SPDX tag
[fw/openocd] / tcl / board / sheevaplug.cfg
index 620e6436292a14cc8ff2f88e0846ccc54f990d04..734fab640747c1a0289dc70db9e3bbb2f285dbcc 100644 (file)
@@ -1,8 +1,12 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 # Marvell SheevaPlug
 
 source [find interface/ftdi/sheevaplug.cfg]
 source [find target/feroceon.cfg]
 
+adapter speed 2000
+
 $_TARGETNAME configure \
        -work-area-phys 0x10000000 \
        -work-area-size 65536 \
@@ -23,10 +27,10 @@ proc sheevaplug_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
@@ -131,4 +135,3 @@ proc sheevaplug_load_uboot { } {
        resume 0x00600000
 
 }
-