summaryrefslogtreecommitdiff
path: root/tcl/target/epc9301.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/target/epc9301.cfg')
-rw-r--r--tcl/target/epc9301.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcl/target/epc9301.cfg b/tcl/target/epc9301.cfg
index eaf4ee96..7e4599da 100644
--- a/tcl/target/epc9301.cfg
+++ b/tcl/target/epc9301.cfg
@@ -28,4 +28,5 @@ target create $_TARGETNAME arm920t -endian $_ENDIAN -chain-position $_TARGETNAME
#flash configuration
#flash bank <driver> <base> <size> <chip_width> <bus_width> [driver_options ...]
-flash bank cfi 0x60000000 0x1000000 2 2 $_TARGETNAME
+set _FLASHNAME $_CHIPNAME.flash
+flash bank $_FLASHNAME cfi 0x60000000 0x1000000 2 2 $_TARGETNAME