summaryrefslogtreecommitdiff
path: root/tcl/board/imx27ads.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/board/imx27ads.cfg')
-rw-r--r--tcl/board/imx27ads.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcl/board/imx27ads.cfg b/tcl/board/imx27ads.cfg
index 664b4705..927647a9 100644
--- a/tcl/board/imx27ads.cfg
+++ b/tcl/board/imx27ads.cfg
@@ -5,7 +5,8 @@ $_TARGETNAME configure -event gdb-attach { reset init }
$_TARGETNAME configure -event reset-init { imx27ads_init }
# The IMX27 ADS board has a NOR flash on CS0
-flash_bank cfi 0xc0000000 0x00200000 2 2 0
+set _FLASHNAME $_CHIPNAME.flash
+flash_bank $_FLASHNAME cfi 0xc0000000 0x00200000 2 2 $_TARGETNAME
proc imx27ads_init { } {
# This setup puts RAM at 0xA0000000