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/digi_connectcore_wi-9c.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tcl/board/digi_connectcore_wi-9c.cfg') diff --git a/tcl/board/digi_connectcore_wi-9c.cfg b/tcl/board/digi_connectcore_wi-9c.cfg index ad40d537..096af1b6 100644 --- a/tcl/board/digi_connectcore_wi-9c.cfg +++ b/tcl/board/digi_connectcore_wi-9c.cfg @@ -125,6 +125,6 @@ $_TARGETNAME configure -work-area-phys 0x00000000 -work-area-size 0x1000 -work-a ##################### #M29DW323DB - not working -#flash bank cfi +#flash bank cfi set _FLASHNAME $_CHIPNAME.flash -flash bank $_FLASHNAME cfi 0x50000000 0x0400000 2 2 0 +flash bank $_FLASHNAME cfi 0x50000000 0x0400000 2 2 $_TARGETNAME -- cgit v1.2.3