tcl/target: add SPDX tag
[fw/openocd] / tcl / target / at91sam9g45.cfg
1 # SPDX-License-Identifier: GPL-2.0-or-later
2
3 ######################################
4 # Target:    Atmel AT91SAM9G45
5 ######################################
6
7 if { [info exists CHIPNAME] } {
8         set AT91_CHIPNAME $CHIPNAME
9 } else {
10         set AT91_CHIPNAME at91sam9g45
11 }
12
13 source [find target/at91sam9.cfg]
14
15 # Establish internal SRAM memory work areas that are important to pre-bootstrap loaders, etc.  The
16 # AT91SAM9G45 has one SRAM area starting at 0x00300000 of 64 KiB.
17
18 $_TARGETNAME configure -work-area-phys 0x00300000 -work-area-size 0x200000 -work-area-backup 1