samsung_s3c2410.cfg 977 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # SPDX-License-Identifier: GPL-2.0-or-later
  2. # Found on the 'TinCanTools' Hammer board.
  3. if { [info exists CHIPNAME] } {
  4. set _CHIPNAME $CHIPNAME
  5. } else {
  6. set _CHIPNAME s3c2410
  7. }
  8. if { [info exists ENDIAN] } {
  9. set _ENDIAN $ENDIAN
  10. } else {
  11. # This config file was defaulting to big endian..
  12. set _ENDIAN little
  13. }
  14. if { [info exists CPUTAPID] } {
  15. set _CPUTAPID $CPUTAPID
  16. } else {
  17. # Force an error until we get a good number.
  18. set _CPUTAPID 0xffffffff
  19. }
  20. #use combined on interfaces or targets that cannot set TRST/SRST separately
  21. reset_config trst_and_srst
  22. #jtag scan chain
  23. jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
  24. set _TARGETNAME $_CHIPNAME.cpu
  25. target create $_TARGETNAME arm920t -endian $_ENDIAN -chain-position $_TARGETNAME
  26. $_TARGETNAME configure -work-area-phys 0x30800000 -work-area-size 0x20000 -work-area-backup 0
  27. # speed up memory downloads
  28. arm7_9 fast_memory_access enable
  29. arm7_9 dcc_downloads enable