1 # SPDX-License-Identifier: GPL-2.0-or-later
3 # script for Sigma Designs SMP8634 (eventually even SMP8635)
5 if { [info exists CHIPNAME] } {
6 set _CHIPNAME $CHIPNAME
11 if { [info exists ENDIAN] } {
17 if { [info exists CPUTAPID] } {
18 set _CPUTAPID $CPUTAPID
20 set _CPUTAPID 0x08630001
23 adapter srst delay 100
26 reset_config trst_and_srst separate
29 # format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
30 jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1
32 set _TARGETNAME $_CHIPNAME.cpu
33 target create $_TARGETNAME mips_m4k -endian $_ENDIAN