1 # Target configuration for the ST SPEAr3xx family of system on chip
2 # Supported SPEAr300, SPEAr310, SPEAr320
3 # http://www.st.com/spear
6 # Info: JTAG tap: spear3xx.cpu tap/device found: 0x07926041
8 # Author: Antonio Borneo <borneo.antonio@gmail.com>
10 if { [info exists CHIPNAME] } {
11 set _CHIPNAME $CHIPNAME
13 set _CHIPNAME spear3xx
16 if { [info exists ENDIAN] } {
22 if { [info exists CPUTAPID] } {
23 set _CPUTAPID $CPUTAPID
25 set _CPUTAPID 0x07926041
28 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x01 -irmask 0x03 \
29 -expected-id $_CPUTAPID
31 set _TARGETNAME $_CHIPNAME.cpu
32 target create $_TARGETNAME arm926ejs -endian $_ENDIAN \
33 -chain-position $_TARGETNAME
35 # SPEAr3xx has a 8K block of sram @ 0xd280.0000
36 # REVISIT: what OS puts virtual address equal to phys?
37 $_TARGETNAME configure \
38 -work-area-virt 0xd2800000 \
39 -work-area-phys 0xd2800000 \
40 -work-area-size 0x2000 \