2009-01-20 04:29:46 +00:00
|
|
|
######################################
|
2008-03-03 20:43:38 +00:00
|
|
|
# Target: Atmel AT91SAM9260
|
|
|
|
######################################
|
|
|
|
|
2009-09-21 18:48:22 +00:00
|
|
|
if { [info exists CHIPNAME] } {
|
2011-03-02 11:57:03 +00:00
|
|
|
set AT91_CHIPNAME $CHIPNAME
|
2009-09-21 18:48:22 +00:00
|
|
|
} else {
|
2011-03-02 11:57:03 +00:00
|
|
|
set AT91_CHIPNAME at91sam9260
|
2009-01-20 04:29:46 +00:00
|
|
|
}
|
2008-10-31 06:57:42 +00:00
|
|
|
|
2011-03-02 11:57:03 +00:00
|
|
|
source [find target/at91sam9.cfg]
|
2008-03-03 20:43:38 +00:00
|
|
|
|
2011-03-02 11:57:06 +00:00
|
|
|
|
|
|
|
# Establish internal SRAM memory work areas that are important to pre-bootstrap loaders, etc. The
|
|
|
|
# AT91SAM9260 has two SRAM areas, one starting at 0x00200000 and the other starting at 0x00300000.
|
|
|
|
# Both areas are 4 kB long.
|
|
|
|
|
|
|
|
#$_TARGETNAME configure -work-area-phys 0x00200000 -work-area-size 0x1000 -work-area-backup 1
|
2009-11-08 16:52:40 +00:00
|
|
|
$_TARGETNAME configure -work-area-phys 0x00300000 -work-area-size 0x1000 -work-area-backup 1
|