diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2010-03-26 15:17:46 +0800 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-03-26 08:42:58 +0100 |
commit | 27b98c2fa548a46bbd2e3f5417160bbfb6eb89a1 (patch) | |
tree | 8c16c74c71a967d5694fd4e1b0033b16f11e8671 /tcl/target | |
parent | ed81249129d4b43159843712efa408660cf4c03d (diff) |
TCL scripts: update to current "flash bank" syntax
While "flash bank" syntax has been changed long ago,
several tcl script are still not fully update.
Fix following cases related with "cfi" driver:
- syntax error: the mandatory <name> parameter is missing
- warning: the <target> parameter is a number, instead of
the target name
- the comment line above the command does not report
actual syntax
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'tcl/target')
-rw-r--r-- | tcl/target/at91sam9260_ext_RAM_ext_flash.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcl/target/at91sam9260_ext_RAM_ext_flash.cfg b/tcl/target/at91sam9260_ext_RAM_ext_flash.cfg index 034a3489..d2bf66fe 100644 --- a/tcl/target/at91sam9260_ext_RAM_ext_flash.cfg +++ b/tcl/target/at91sam9260_ext_RAM_ext_flash.cfg @@ -54,7 +54,7 @@ $_TARGETNAME configure -event reset-deassert-post {at91sam_init} # Flash configuration -#flash bank cfi <base> <size> <chip width> <bus width> <target#> +#flash bank <name> cfi <base> <size> <chip width> <bus width> <target> set _FLASHNAME $_CHIPNAME.flash flash bank $_FLASHNAME cfi 0x10000000 0x01000000 2 2 $_TARGETNAME |