armada370.cfg 725 B

123456789101112131415161718192021222324252627282930313233
  1. # SPDX-License-Identifier: GPL-2.0-or-later
  2. #
  3. # armada370 -- support for the Marvell Armada/370 CPU family
  4. #
  5. # gerg@uclinux.org, OCT-2013
  6. #
  7. if { [info exists CHIPNAME] } {
  8. set _CHIPNAME $CHIPNAME
  9. } else {
  10. set _CHIPNAME armada370
  11. }
  12. if { [info exists CPUTAPID] } {
  13. set _CPUTAPID $CPUTAPID
  14. } else {
  15. set _CPUTAPID 0x4ba00477
  16. }
  17. jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
  18. set _TARGETNAME $_CHIPNAME.cpu
  19. dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
  20. target create $_TARGETNAME cortex_a -dap $_CHIPNAME.dap
  21. proc armada370_dbginit {target} {
  22. cortex_a dbginit
  23. }
  24. $_TARGETNAME configure -event reset-assert-post "armada370_dbginit $_TARGETNAME"
  25. dap apsel 1