update 'nand device' usage in scripts

Add $_FLASHNAME variable to update 'nand device' command syntax.
This commit is contained in:
Zachary T Welch
2009-11-18 02:19:35 -08:00
parent 664ba309d5
commit 3e1f5e7c64
3 changed files with 8 additions and 4 deletions

View File

@@ -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 { } {