board configs -- unique names for flash chips

Don't give the same names to both flash chips on two OMAP boards.

For OSK, enable DCC downloads (removing a warning).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
This commit is contained in:
David Brownell 2010-01-20 10:46:53 -08:00
parent 6f2b88448f
commit 22d25e6921
2 changed files with 6 additions and 8 deletions

View File

@ -8,7 +8,5 @@ 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.
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
flash bank h4.u10 cfi 0x04000000 0x02000000 2 2 $_TARGETNAME
flash bank h4.u11 cfi 0x06000000 0x02000000 2 2 $_TARGETNAME

View File

@ -19,10 +19,8 @@ etm_dummy config $_TARGETNAME
# standard boards populate two 16 MB chips, but manufacturing
# options or an expansion board could change this config.
set _FLASHNAME $_CHIPNAME.flash
flash bank $_FLASHNAME cfi 0x00000000 0x01000000 2 2 $_TARGETNAME
set _FLASHNAME $_CHIPNAME.flash
flash bank $_FLASHNAME cfi 0x01000000 0x01000000 2 2 $_TARGETNAME
flash bank osk.u1 cfi 0x00000000 0x01000000 2 2 $_TARGETNAME
flash bank osk.u2 cfi 0x01000000 0x01000000 2 2 $_TARGETNAME
proc osk5912_init {} {
omap5912_reset
@ -32,3 +30,5 @@ proc osk5912_init {} {
flash probe 1
}
$_TARGETNAME configure -event reset-init { osk5912_init }
arm7_9 dcc_downloads enable