1 # Cirrus Logic EP9301 processor on an Olimex CS-E9301 board.
3 if { [info exists CHIPNAME] } {
4 set _CHIPNAME $CHIPNAME
9 if { [info exists ENDIAN] } {
15 if { [info exists CPUTAPID ] } {
16 set _CPUTAPID $CPUTAPID
18 # force an error till we get a good number
19 set _CPUTAPID 0xffffffff
22 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
26 set _TARGETNAME $_CHIPNAME.cpu
27 target create $_TARGETNAME arm920t -endian $_ENDIAN -chain-position $_TARGETNAME -work-area-phys 0x80014000 -work-area-size 0x1000 -work-area-backup 1
30 #flash bank <driver> <base> <size> <chip_width> <bus_width> [driver_options ...]
31 set _FLASHNAME $_CHIPNAME.flash
32 flash bank $_FLASHNAME cfi 0x60000000 0x1000000 2 2 $_TARGETNAME