Skip to content

Commit

Permalink
tcl/board: Add Renesas R-Car Salvator-X(S) boards.
Browse files Browse the repository at this point in the history
Add configuration for the Renesas R-Car Salvator-X
and Renesas R-Car Salvator-XS boards.

Change-Id: I898008f56adb31908d30760f18217583fabf1c51
Signed-off-by: Adam Bass <adam.bass@renesas.com>
Reviewed-on: http://openocd.zylin.com/4670
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
  • Loading branch information
abass-renesas authored and thinkfat committed Oct 1, 2018
1 parent 2f15407 commit 1afec4f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions tcl/board/renesas_salvator-xs.cfg
@@ -0,0 +1,23 @@
# Renesas R-Car Gen3 Salvator-X(S) Board Config

# The Salvator-X(S) boards come with either an H3, M3W, or M3N SOC.

echo "\nSalvator-X(S):"
if { ![info exists SOC] } {
set SOC H3
}
source [find target/renesas_rcar_gen3.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
}

0 comments on commit 1afec4f

Please sign in to comment.