summaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-03-02 12:57:04 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-03-03 22:49:46 +0100
commit26db0a6bef8444d5d3e03a7576014494c506d0a2 (patch)
tree6bd4af185016a4909808f402b2543ef83c68a844 /tcl
parente941805713fd2ad8b7f9740ae789b8a1f5b645ff (diff)
downloadopenocd+libswd-26db0a6bef8444d5d3e03a7576014494c506d0a2.tar.gz
openocd+libswd-26db0a6bef8444d5d3e03a7576014494c506d0a2.tar.bz2
openocd+libswd-26db0a6bef8444d5d3e03a7576014494c506d0a2.tar.xz
openocd+libswd-26db0a6bef8444d5d3e03a7576014494c506d0a2.zip
at91: add at91sam9261 support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: Patrice Vilchez <patrice.vilchez@atmel.com>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/target/at91sam9261.cfg14
1 files changed, 14 insertions, 0 deletions
diff --git a/tcl/target/at91sam9261.cfg b/tcl/target/at91sam9261.cfg
new file mode 100644
index 00000000..3ad14118
--- /dev/null
+++ b/tcl/target/at91sam9261.cfg
@@ -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