tcl/board: Add Renesas RZ/A1H GR-Peach board
[fw/openocd] / tcl / board / renesas_salvator-xs.cfg
1 # Renesas R-Car Gen3 Salvator-X(S) Board Config
2
3 # The Salvator-X(S) boards come with either an H3, M3W, or M3N SOC.
4
5 echo "\nSalvator-X(S):"
6 if { ![info exists SOC] } {
7         set SOC H3
8 }
9 source [find target/renesas_rcar_gen3.cfg]
10
11 reset_config trst_and_srst srst_nogate
12
13 proc init_reset {mode} {
14         # Assert both resets: equivalent to a power-on reset
15         jtag_reset 1 1
16
17         # Deassert TRST to begin TAP communication
18         jtag_reset 0 1
19
20         # TAP should now be responsive, validate the scan-chain
21         jtag arp_init
22 }
23