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/logicpd_imx27.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tcl/board/logicpd_imx27.cfg') diff --git a/tcl/board/logicpd_imx27.cfg b/tcl/board/logicpd_imx27.cfg index b068f1a1..02afc774 100644 --- a/tcl/board/logicpd_imx27.cfg +++ b/tcl/board/logicpd_imx27.cfg @@ -2,7 +2,8 @@ source [find target/imx27.cfg] # The Logic PD board has a NOR flash on CS0 -flash_bank cfi 0xc0000000 0x00200000 2 2 0 +set _FLASHNAME $_CHIPNAME.flash +flash_bank $_FLASHNAME cfi 0xc0000000 0x00200000 2 2 $_TARGETNAME # # FIX ME, Add support to -- cgit v1.2.3