spear3xx.cfg 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # SPDX-License-Identifier: GPL-2.0-or-later
  2. # Target configuration for the ST SPEAr3xx family of system on chip
  3. # Supported SPEAr300, SPEAr310, SPEAr320
  4. # http://www.st.com/spear
  5. #
  6. # Processor: ARM926ejs
  7. # Info: JTAG tap: spear3xx.cpu tap/device found: 0x07926041
  8. # Date: 2009-10-31
  9. # Author: Antonio Borneo <borneo.antonio@gmail.com>
  10. if { [info exists CHIPNAME] } {
  11. set _CHIPNAME $CHIPNAME
  12. } else {
  13. set _CHIPNAME spear3xx
  14. }
  15. if { [info exists ENDIAN] } {
  16. set _ENDIAN $ENDIAN
  17. } else {
  18. set _ENDIAN little
  19. }
  20. if { [info exists CPUTAPID] } {
  21. set _CPUTAPID $CPUTAPID
  22. } else {
  23. set _CPUTAPID 0x07926041
  24. }
  25. jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x01 -irmask 0x03 \
  26. -expected-id $_CPUTAPID
  27. set _TARGETNAME $_CHIPNAME.cpu
  28. target create $_TARGETNAME arm926ejs -endian $_ENDIAN \
  29. -chain-position $_TARGETNAME
  30. # SPEAr3xx has a 8K block of sram @ 0xd280.0000
  31. # REVISIT: what OS puts virtual address equal to phys?
  32. $_TARGETNAME configure \
  33. -work-area-virt 0xd2800000 \
  34. -work-area-phys 0xd2800000 \
  35. -work-area-size 0x2000 \
  36. -work-area-backup 0