tcl/board: add st_nucleo_g4.cfg to cover known STM32G4 NUCLEO boards
[fw/openocd] / tcl / board / openrd.cfg
index 14593fd4103a2f645df1104fc18ad1b16b37f816..fda01d1291c84381d20c89d1afb2132120ae69d8 100644 (file)
@@ -1,8 +1,10 @@
 # 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 +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
@@ -120,4 +122,3 @@ proc openrd_load_uboot { } {
        resume 0x00600000
 
 }
-