]> git.sur5r.net Git - openocd/commitdiff
at91sam9260: update sram information
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Wed, 2 Mar 2011 11:57:06 +0000 (12:57 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 3 Mar 2011 21:49:47 +0000 (22:49 +0100)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
tcl/target/at91sam9260.cfg

index 9f79dfa466f9e8ae6f061616ff01753aca33630a..c5a07fdd995bda53322e10945e12e634f8479f25 100644 (file)
@@ -10,5 +10,10 @@ if { [info exists CHIPNAME] } {
 
 source [find target/at91sam9.cfg]
 
-# Internal sram1 memory
+
+# 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
 $_TARGETNAME configure -work-area-phys 0x00300000 -work-area-size 0x1000 -work-area-backup 1