]> git.sur5r.net Git - openocd/blobdiff - tcl/board/renesas_porter.cfg
tcl/board: Factor out common R-Car Gen2 code
[openocd] / tcl / board / renesas_porter.cfg
index da2bba1f450a208514ef7fed13e948dc743d9c6e..c8032f512dab76932e08cb4f8417d5c7000d548f 100644 (file)
@@ -1,16 +1,4 @@
 # Renesas R-Car M2 Evaluation Board
 
 source [find target/renesas_r8a7791.cfg]
-
-reset_config trst_and_srst srst_nogate
-
-proc init_reset {mode} {
-    # Assert both resets: equivalent to a power-on reset
-    jtag_reset 1 1
-
-    # Deassert TRST to begin TAP communication
-    jtag_reset 0 1
-
-    # TAP should now be responsive, validate the scan-chain
-    jtag arp_init
-}
+source [find board/renesas_gen2_common.cfg]