target/xtensa: avoid IHI for writes to non-executable memory
[openocd.git] / tcl / target / feroceon.cfg
blob593569d1dd15933a8629562fe94580f8e7e1dcc9
1 # SPDX-License-Identifier: GPL-2.0-or-later
3 ######################################
4 # Target:    Marvell Feroceon CPU core
5 ######################################
7 if { [info exists CHIPNAME] } {
8    set _CHIPNAME $CHIPNAME
9 } else {
10    set _CHIPNAME feroceon
13 if { [info exists ENDIAN] } {
14    set _ENDIAN $ENDIAN
15 } else {
16    set _ENDIAN little
19 if { [info exists CPUTAPID] } {
20    set _CPUTAPID $CPUTAPID
21 } else {
22    set _CPUTAPID 0x20a023d3
25 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
27 set _TARGETNAME $_CHIPNAME.cpu
28 target create $_TARGETNAME feroceon -endian $_ENDIAN -chain-position $_TARGETNAME
30 reset_config trst_and_srst
31 adapter srst delay 200
32 jtag_ntrst_delay 200