update 'nand device' usage in scripts
Add $_FLASHNAME variable to update 'nand device' command syntax.
This commit is contained in:
parent
664ba309d5
commit
3e1f5e7c64
|
@ -191,8 +191,10 @@ proc dm355evm_init {} {
|
|||
# you either (a) have 'new' DM355 chips, with boot ROMs that don't need to
|
||||
# use "hwecc4_infix" for the UBL; or else (b) aren't updating anything that
|
||||
# needs infix layout ... like an old UBL, old U-Boot, old MVL kernel, etc.
|
||||
nand device davinci $_TARGETNAME 0x02000000 hwecc4 0x01e10000
|
||||
nand device davinci $_TARGETNAME 0x02004000 hwecc4 0x01e10000
|
||||
set _FLASHNAME $_CHIPNAME.boot
|
||||
nand device $_FLASHNAME davinci $_TARGETNAME 0x02000000 hwecc4 0x01e10000
|
||||
set _FLASHNAME $_CHIPNAME.flash
|
||||
nand device $_FLASHNAME davinci $_TARGETNAME 0x02004000 hwecc4 0x01e10000
|
||||
|
||||
# FIXME
|
||||
# - support writing UBL with its header (new layout only with new ROMs)
|
||||
|
|
|
@ -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 { } {
|
||||
|
||||
|
|
|
@ -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 sheevaplug_init { } {
|
||||
|
||||
|
|
Loading…
Reference in New Issue