diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-03-02 12:57:07 +0100 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-03-03 22:49:47 +0100 |
commit | a4bf71386b2fce8864363c64c2ce2584ad2d1907 (patch) | |
tree | f74d76aa058dc49033d6f87b3ecfa0a06f9d860c /tcl/target/at91sam9g10.cfg | |
parent | aebc0d5556089a4f1df9b0281685534386e9cea7 (diff) | |
download | riscv-openocd-a4bf71386b2fce8864363c64c2ce2584ad2d1907.zip riscv-openocd-a4bf71386b2fce8864363c64c2ce2584ad2d1907.tar.gz riscv-openocd-a4bf71386b2fce8864363c64c2ce2584ad2d1907.tar.bz2 |
at91: add at91sam9g10 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/at91sam9g10.cfg')
-rw-r--r-- | tcl/target/at91sam9g10.cfg | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tcl/target/at91sam9g10.cfg b/tcl/target/at91sam9g10.cfg new file mode 100644 index 0000000..b49f3d9 --- /dev/null +++ b/tcl/target/at91sam9g10.cfg @@ -0,0 +1,16 @@ +###################################### +# Target: Atmel AT91SAM9G10 +###################################### + +if { [info exists CHIPNAME] } { + set AT91_CHIPNAME $CHIPNAME +} else { + set AT91_CHIPNAME at91sam9g10 +} + +source [find target/at91sam9.cfg] + +# Establish internal SRAM memory work areas that are important to pre-bootstrap loaders, etc. The +# AT91SAM9G10 has one SRAM area at 0x00300000 of 16KiB + +$_TARGETNAME configure -work-area-phys 0x00300000 -work-area-size 0x4000 -work-area-backup 1 |