On Sun, May 10, 2009 at 03:43:01PM -0700, David Brownell wrote: > From: David Brownell <dbrown...@users.sourceforge.net> > > Update chipselect handling in davinci_nand.c so that it can > handle 2 GByte chips the same way Linux does: as one device, > even though it has two halves with independent chip selects. > For such chips the "nand info" command reports: > > Device 0: 2x nand0, sector size 128 KiB > > Switch to use the default chipselect function unless the board > really needs its own. The logic for the Sonata board moves out > of the driver into board-specific code. (Which doesn't affect > current build breakage if its NAND support is enabled...) > > Signed-off-by: David Brownell <dbrown...@users.sourceforge.net> > --- > NOTE: probably depends on the two previous NAND patches (now > queued in nand-next). I don't think this depends on anything > in the arm-next tree, which doesn't have those patches. > > board/davinci/sonata/sonata.c | 28 ++++++++++++++++++++++++++++ > drivers/mtd/nand/davinci_nand.c | 28 ++++++++-------------------- > include/asm-arm/arch-davinci/nand_defs.h | 2 ++ > 3 files changed, 38 insertions(+), 20 deletions(-)
Applied to u-boot-nand-flash/next. -Scott _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot