1 # SPDX-License-Identifier: GPL-2.0-or-later
4 # Nuvoton nuc910 (previously W90P910) based soc
7 if { [info exists CHIPNAME] } {
8 set _CHIPNAME $CHIPNAME
13 if { [info exists ENDIAN] } {
19 if { [info exists CPUTAPID] } {
20 set _CPUTAPID $CPUTAPID
23 set _CPUTAPID 0x07926f0f
26 set _TARGETNAME $_CHIPNAME.cpu
27 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
29 target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME