From: Antonio Borneo Date: Thu, 15 Apr 2010 09:11:01 +0000 (+0800) Subject: TCL SCRIPTS: fix command name X-Git-Tag: v0.5.0-rc1~748 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d31bbc33fab65a27edfd142202b90011bd471406;p=openocd 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 --- 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 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