feroceon.cfg 719 B

1234567891011121314151617181920212223242526272829303132
  1. # SPDX-License-Identifier: GPL-2.0-or-later
  2. ######################################
  3. # Target: Marvell Feroceon CPU core
  4. ######################################
  5. if { [info exists CHIPNAME] } {
  6. set _CHIPNAME $CHIPNAME
  7. } else {
  8. set _CHIPNAME feroceon
  9. }
  10. if { [info exists ENDIAN] } {
  11. set _ENDIAN $ENDIAN
  12. } else {
  13. set _ENDIAN little
  14. }
  15. if { [info exists CPUTAPID] } {
  16. set _CPUTAPID $CPUTAPID
  17. } else {
  18. set _CPUTAPID 0x20a023d3
  19. }
  20. jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
  21. set _TARGETNAME $_CHIPNAME.cpu
  22. target create $_TARGETNAME feroceon -endian $_ENDIAN -chain-position $_TARGETNAME
  23. reset_config trst_and_srst
  24. adapter srst delay 200
  25. jtag_ntrst_delay 200