openocd/tcl/board/renesas_gen2_common.cfg
Marek Vasut 8b8b66559d tcl/board: Factor out common R-Car Gen2 code
Factor out the code shared by all R-Car Gen2 boards into a single
file to get rid of the duplication.

Change-Id: I70b302c2e71f4e6fdccb2817dd65a5493bb393d8
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Reviewed-on: http://openocd.zylin.com/4533
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
2018-06-25 10:06:39 +01:00

15 lines
344 B
INI

# Renesas R-Car Gen2 Evaluation Board common settings
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
}