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
10 set _CHIPNAME feroceon
13 if { [info exists ENDIAN] } {
19 if { [info exists CPUTAPID] } {
20 set _CPUTAPID $CPUTAPID
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