summaryrefslogtreecommitdiff
path: root/tcl/target/lpc2900.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/target/lpc2900.cfg')
-rw-r--r--tcl/target/lpc2900.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcl/target/lpc2900.cfg b/tcl/target/lpc2900.cfg
index fa5bd5bb..2371dd7a 100644
--- a/tcl/target/lpc2900.cfg
+++ b/tcl/target/lpc2900.cfg
@@ -62,4 +62,5 @@ arm7_9 dcc_downloads enable
# Flash bank configuration:
# Flash: flash bank lpc2900 0 0 0 0 <target#> <flash clock (CLK_SYS_FMC) in kHz>
# Flash base address, total flash size, and number of sectors are all configured automatically.
-flash bank lpc2900 0 0 0 0 $_TARGETNAME $FLASH_CLOCK
+set _FLASHNAME $_CHIPNAME.flash
+flash bank $_FLASHNAME lpc2900 0 0 0 0 $_TARGETNAME $FLASH_CLOCK