TCL SCRIPTS: fix command name
authorAntonio Borneo <borneo.antonio@gmail.com>
Thu, 15 Apr 2010 09:11:01 +0000 (17:11 +0800)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 15 Apr 2010 17:10:36 +0000 (19:10 +0200)
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>
tcl/board/at91rm9200-dk.cfg
tcl/board/imx27ads.cfg
tcl/board/logicpd_imx27.cfg

index af6e3df2025511b86186b002a2e26be323596d91..402ed050dc8c093f9301d8a7c443f87fdbba37e1 100644 (file)
@@ -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 { } {
index 927647a9b65016a78eeefa035165738d8d025b41..e705b1e1666d4990c1f75c86d6193cebb4e65483 100644 (file)
@@ -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
index 02afc7743c6700ceef7739a95a70ae879234952c..da0b46223d52948aa08d798b7a48d334c81f57eb 100644 (file)
@@ -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