summaryrefslogtreecommitdiff
path: root/tcl
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2010-04-15 17:11:01 +0800
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-04-15 19:10:36 +0200
commitd31bbc33fab65a27edfd142202b90011bd471406 (patch)
tree098842d8223d0450f86c532b54b6e9ca5318cb89 /tcl
parentdecad308655edf61094d5d552ab93f9fb2a6d535 (diff)
downloadopenocd+libswd-d31bbc33fab65a27edfd142202b90011bd471406.tar.gz
openocd+libswd-d31bbc33fab65a27edfd142202b90011bd471406.tar.bz2
openocd+libswd-d31bbc33fab65a27edfd142202b90011bd471406.tar.xz
openocd+libswd-d31bbc33fab65a27edfd142202b90011bd471406.zip
TCL SCRIPTS: fix command name
Some tcl script has underline between the words "flash bank" resulting in 'invalid command name "flash_bank"'. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'tcl')
-rw-r--r--tcl/board/at91rm9200-dk.cfg2
-rw-r--r--tcl/board/imx27ads.cfg2
-rw-r--r--tcl/board/logicpd_imx27.cfg2
3 files changed, 3 insertions, 3 deletions
diff --git a/tcl/board/at91rm9200-dk.cfg b/tcl/board/at91rm9200-dk.cfg
index af6e3df2..402ed050 100644
--- a/tcl/board/at91rm9200-dk.cfg
+++ b/tcl/board/at91rm9200-dk.cfg
@@ -10,7 +10,7 @@ $_TARGETNAME configure -event reset-init { at91rm9200_dk_init }
#flash bank <name> <driver> <base> <size> <chip_width> <bus_width> <target>
set _FLASHNAME $_CHIPNAME.flash
-flash_bank $_FLASHNAME cfi 0x10000000 0x00200000 2 2 $_TARGETNAME
+flash bank $_FLASHNAME cfi 0x10000000 0x00200000 2 2 $_TARGETNAME
proc at91rm9200_dk_init { } {
diff --git a/tcl/board/imx27ads.cfg b/tcl/board/imx27ads.cfg
index 927647a9..e705b1e1 100644
--- a/tcl/board/imx27ads.cfg
+++ b/tcl/board/imx27ads.cfg
@@ -6,7 +6,7 @@ $_TARGETNAME configure -event reset-init { imx27ads_init }
# The IMX27 ADS board has a NOR flash on CS0
set _FLASHNAME $_CHIPNAME.flash
-flash_bank $_FLASHNAME cfi 0xc0000000 0x00200000 2 2 $_TARGETNAME
+flash bank $_FLASHNAME cfi 0xc0000000 0x00200000 2 2 $_TARGETNAME
proc imx27ads_init { } {
# This setup puts RAM at 0xA0000000
diff --git a/tcl/board/logicpd_imx27.cfg b/tcl/board/logicpd_imx27.cfg
index 02afc774..da0b4622 100644
--- a/tcl/board/logicpd_imx27.cfg
+++ b/tcl/board/logicpd_imx27.cfg
@@ -3,7 +3,7 @@ source [find target/imx27.cfg]
# The Logic PD board has a NOR flash on CS0
set _FLASHNAME $_CHIPNAME.flash
-flash_bank $_FLASHNAME cfi 0xc0000000 0x00200000 2 2 $_TARGETNAME
+flash bank $_FLASHNAME cfi 0xc0000000 0x00200000 2 2 $_TARGETNAME
#
# FIX ME, Add support to