config files: Drop incorrect comments.
[openocd/libswd.git] / tcl / target / samsung_s3c2410.cfg
blob73d3b50039182dbf1c71323febb3b9e897d45e3e
1 # Found on the 'TinCanTools' Hammer board.
3 if { [info exists CHIPNAME] } {
4    set  _CHIPNAME $CHIPNAME
5 } else {
6    set  _CHIPNAME s3c2410
9 if { [info exists ENDIAN] } {
10    set  _ENDIAN $ENDIAN
11 } else {
12   # This config file was defaulting to big endian..
13    set  _ENDIAN little
16 if { [info exists CPUTAPID] } {
17    set  _CPUTAPID $CPUTAPID
18 } else {
19    # Force an error until we get a good number.
20    set  _CPUTAPID 0xffffffff
23 #use combined on interfaces or targets that cannot set TRST/SRST separately
24 reset_config trst_and_srst
26 #jtag scan chain
27 jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
29 set _TARGETNAME $_CHIPNAME.cpu
30 target create $_TARGETNAME arm920t -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm920t
32 $_TARGETNAME configure -work-area-phys 0x30800000 -work-area-size 0x20000 -work-area-backup 0
34 # speed up memory downloads
35 arm7_9 fast_memory_access enable
36 arm7_9 dcc_downloads enable