summaryrefslogtreecommitdiff
path: root/tcl/board/hitex_lpc2929.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/board/hitex_lpc2929.cfg')
-rw-r--r--tcl/board/hitex_lpc2929.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcl/board/hitex_lpc2929.cfg b/tcl/board/hitex_lpc2929.cfg
index d0b28647..7d06f745 100644
--- a/tcl/board/hitex_lpc2929.cfg
+++ b/tcl/board/hitex_lpc2929.cfg
@@ -28,7 +28,8 @@ $_TARGETNAME configure -event reset-start {
}
# External 16-bit flash at chip select CS7 (SST39VF3201-70, 4 MiB)
-flash bank cfi 0x5C000000 0x400000 2 2 $_TARGETNAME jedec_probe
+set _FLASHNAME $_CHIPNAME.flash
+flash bank $_FLASHNAME cfi 0x5C000000 0x400000 2 2 $_TARGETNAME jedec_probe
$_TARGETNAME configure -event reset-init {