summaryrefslogtreecommitdiff
path: root/tcl/target/at91r40008.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/target/at91r40008.cfg')
-rw-r--r--tcl/target/at91r40008.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcl/target/at91r40008.cfg b/tcl/target/at91r40008.cfg
index fe755b4d..eb6cabaa 100644
--- a/tcl/target/at91r40008.cfg
+++ b/tcl/target/at91r40008.cfg
@@ -45,7 +45,7 @@ $_TARGETNAME configure -event gdb-flash-erase-start {
$_TARGETNAME configure -work-area-virt 0 -work-area-phys 0x3C000 -work-area-size 0x4000 -work-area-backup 0
-flash bank cfi 0x10000000 0x400000 2 2 0
+flash bank cfi 0x10000000 0x400000 2 2 $_TARGETNAME
# For more information about the configuration files, take a look at:
# openocd.texi