tcl: update scripts after "jtag_reset" got deprecated
[fw/openocd] / tcl / board / sheevaplug.cfg
index ff333ca77f9fb30f02cf3649b5913955b915af7c..0d21be37c4010c4459d20c7ddec545cb53e9dbfe 100644 (file)
@@ -25,10 +25,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