From 27b98c2fa548a46bbd2e3f5417160bbfb6eb89a1 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Fri, 26 Mar 2010 15:17:46 +0800 Subject: 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 parameter is missing - warning: the 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 --- tcl/board/x300t.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tcl/board/x300t.cfg') diff --git a/tcl/board/x300t.cfg b/tcl/board/x300t.cfg index d914180..9d9a320 100644 --- a/tcl/board/x300t.cfg +++ b/tcl/board/x300t.cfg @@ -7,9 +7,9 @@ source [find target/smp8634.cfg] $_TARGETNAME configure -event reset-init { x300t_init } # 1MB CFI capable flash -# flash bank +# flash bank set _FLASHNAME $_CHIPNAME.flash -flash bank $_FLASHNAME cfi 0xac000000 0x100000 2 2 0 +flash bank $_FLASHNAME cfi 0xac000000 0x100000 2 2 $_TARGETNAME proc x300t_init { } { # Setup SDRAM config and flash mapping -- cgit v1.1