summaryrefslogtreecommitdiff
path: root/tcl/target/sam7x256.cfg
diff options
context:
space:
mode:
authorSpencer Oliver <ntfreak@users.sourceforge.net>2009-12-17 10:53:09 +0000
committerSpencer Oliver <ntfreak@users.sourceforge.net>2009-12-17 11:39:09 +0000
commit3616b93eee128b0c12fa0d453fbe6ced998e482f (patch)
tree4f2950215c1f516b9ffaf2c1952b913bb4929e08 /tcl/target/sam7x256.cfg
parent960ad2f77631988bc8aef86255ea6f4007b34153 (diff)
downloadopenocd+libswd-3616b93eee128b0c12fa0d453fbe6ced998e482f.tar.gz
openocd+libswd-3616b93eee128b0c12fa0d453fbe6ced998e482f.tar.bz2
openocd+libswd-3616b93eee128b0c12fa0d453fbe6ced998e482f.tar.xz
openocd+libswd-3616b93eee128b0c12fa0d453fbe6ced998e482f.zip
target.cfg: update to use new flash configuration syntax
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'tcl/target/sam7x256.cfg')
-rw-r--r--tcl/target/sam7x256.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcl/target/sam7x256.cfg b/tcl/target/sam7x256.cfg
index 5bab6421..19145e5c 100644
--- a/tcl/target/sam7x256.cfg
+++ b/tcl/target/sam7x256.cfg
@@ -47,7 +47,7 @@ $_TARGETNAME configure -work-area-phys 0x00200000 -work-area-size 0x4000 -work-a
#flash bank <driver> <base_addr> <size> <chip_width> <bus_width> <target_number> [<target_name> <banks> <sectors_per_bank> <pages_per_sector> <page_size> <num_nvmbits> <ext_freq_khz>]
set _FLASHNAME $_CHIPNAME.flash
-flash bank $_FLASHNAME at91sam7 0 0 0 0 0 0 0 0 0 0 0 0 18432
+flash bank $_FLASHNAME at91sam7 0 0 0 0 $_TARGETNAME 0 0 0 0 0 0 0 18432
# For more information about the configuration files, take a look at:
# openocd.texi