at91sam9g20.cfg 825 B

123456789101112131415161718192021222324
  1. # SPDX-License-Identifier: GPL-2.0-or-later
  2. ######################################
  3. # Target: Atmel AT91SAM9G20
  4. ######################################
  5. if { [info exists CHIPNAME] } {
  6. set AT91_CHIPNAME $CHIPNAME
  7. } else {
  8. set AT91_CHIPNAME at91sam9g20
  9. }
  10. source [find target/at91sam9.cfg]
  11. # Set fallback clock to 1/6 of worst-case clock speed (which would be the 32.768 kHz slow clock).
  12. adapter speed 5
  13. # Establish internal SRAM memory work areas that are important to pre-bootstrap loaders, etc. The
  14. # AT91SAM9G20 has two SRAM areas, one starting at 0x00200000 and the other starting at 0x00300000.
  15. # Both areas are 16 kB long.
  16. #$_TARGETNAME configure -work-area-phys 0x00200000 -work-area-size 0x4000 -work-area-backup 1
  17. $_TARGETNAME configure -work-area-phys 0x00300000 -work-area-size 0x4000 -work-area-backup 1