From 2dfa5e9c844a5a3f8aaca146c874f13570b8f667 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Wed, 18 Nov 2009 02:15:52 -0800 Subject: update 'flash bank' usage in scripts Sets $_FLASHNAME to "$_CHIPNAME.flash" and passes it as the first argument to 'flash bank'. --- tcl/board/omap2420_h4.cfg | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tcl/board/omap2420_h4.cfg') diff --git a/tcl/board/omap2420_h4.cfg b/tcl/board/omap2420_h4.cfg index c2190b5c..12efa053 100644 --- a/tcl/board/omap2420_h4.cfg +++ b/tcl/board/omap2420_h4.cfg @@ -8,5 +8,7 @@ reset_config trst_and_srst separate # Board configs can vary a *LOT* ... parts, jumpers, etc. # This GP board boots from cs0 using NOR (2x32M), and also # has 64M NAND on cs6. -flash bank cfi 0x04000000 0x02000000 2 2 $_TARGETNAME -flash bank cfi 0x06000000 0x02000000 2 2 $_TARGETNAME +set _FLASHNAME $_CHIPNAME.flash +flash bank $_FLASHNAME cfi 0x04000000 0x02000000 2 2 $_TARGETNAME +set _FLASHNAME $_CHIPNAME.flash +flash bank $_FLASHNAME cfi 0x06000000 0x02000000 2 2 $_TARGETNAME -- cgit v1.2.3-18-g5258