summaryrefslogtreecommitdiff
path: root/tcl/target
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-03-02 12:57:08 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-03-03 22:49:47 +0100
commitdf500c5a0494decd708ddebe8ed1efed081ded55 (patch)
tree35728eed7ea07b68c48a23ed2ad308e899195f28 /tcl/target
parenta4bf71386b2fce8864363c64c2ce2584ad2d1907 (diff)
downloadopenocd+libswd-df500c5a0494decd708ddebe8ed1efed081ded55.tar.gz
openocd+libswd-df500c5a0494decd708ddebe8ed1efed081ded55.tar.bz2
openocd+libswd-df500c5a0494decd708ddebe8ed1efed081ded55.tar.xz
openocd+libswd-df500c5a0494decd708ddebe8ed1efed081ded55.zip
at91: add at91sam9g45 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/target')
-rw-r--r--tcl/target/at91sam9g45.cfg16
1 files changed, 16 insertions, 0 deletions
diff --git a/tcl/target/at91sam9g45.cfg b/tcl/target/at91sam9g45.cfg
new file mode 100644
index 00000000..7323679b
--- /dev/null
+++ b/tcl/target/at91sam9g45.cfg
@@ -0,0 +1,16 @@
+######################################
+# Target: Atmel AT91SAM9G45
+######################################
+
+if { [info exists CHIPNAME] } {
+ set AT91_CHIPNAME $CHIPNAME
+} else {
+ set AT91_CHIPNAME at91sam9g45
+}
+
+source [find target/at91sam9.cfg]
+
+# Establish internal SRAM memory work areas that are important to pre-bootstrap loaders, etc. The
+# AT91SAM9G45 has one SRAM area starting at 0x00300000 of 64 KiB.
+
+$_TARGETNAME configure -work-area-phys 0x00300000 -work-area-size 0x200000 -work-area-backup 1