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