]> git.sur5r.net Git - openocd/commitdiff
at91: add at91sam9261 support
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Wed, 2 Mar 2011 11:57:04 +0000 (12:57 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 3 Mar 2011 21:49:46 +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/at91sam9261.cfg [new file with mode: 0644]

diff --git a/tcl/target/at91sam9261.cfg b/tcl/target/at91sam9261.cfg
new file mode 100644 (file)
index 0000000..3ad1411
--- /dev/null
@@ -0,0 +1,14 @@
+######################################
+# Target:    Atmel AT91SAM9261
+######################################
+
+if { [info exists CHIPNAME] } {
+       set AT91_CHIPNAME $CHIPNAME
+} else {
+       set AT91_CHIPNAME at91sam9261
+}
+
+source [find target/at91sam9.cfg]
+
+# Internal sram1 memory
+$_TARGETNAME configure -work-area-phys 0x00300000 -work-area-size 0x28000 -work-area-backup 1