From 3e1f5e7c64ea545f6e87b5fa1adb0c00358be505 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Wed, 18 Nov 2009 02:19:35 -0800 Subject: update 'nand device' usage in scripts Add $_FLASHNAME variable to update 'nand device' command syntax. --- tcl/board/openrd.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tcl/board/openrd.cfg') diff --git a/tcl/board/openrd.cfg b/tcl/board/openrd.cfg index a77dcdbe..e8784d40 100644 --- a/tcl/board/openrd.cfg +++ b/tcl/board/openrd.cfg @@ -11,7 +11,8 @@ $_TARGETNAME configure \ arm7_9 dcc_downloads enable # this assumes the hardware default peripherals location before u-Boot moves it -nand device orion 0 0xd8000000 +set _FLASHNAME $_CHIPNAME.flash +nand device $_FLASHNAME orion 0 0xd8000000 proc openrd_init { } { -- cgit v1.2.3