[U-Boot] [RFC/PATCH 1/4] Enable multi chip support in the NAND layer

Scott Wood
2009-01-19T17:08:04Z

On Mon, Jan 19, 2009 at 05:12:32PM +0100, Stefan Roese wrote:
> Hi Wolfgang G.,
>
> On Friday 16 January 2009, Wolfgang Grandegger wrote:
> > > So we should change the default setting to 1, and change it only where
> > > needed.
> >
> > Actually, none of the boards use multi-chip support (NAND_MAX_CHIPS >
> > 1). The bamboo and the DU440 define
> >
> > #define NAND_MAX_CHIPS CONFIG_SYS_MAX_NAND_DEVICE
> >
> > but that's bogus and did not work yet anyhow.
>
> Not sure what you mean by this. Bamboo has 2 NAND chips and U-Boot can access
> both chips.

Are they accessed as 2 NAND controllers, or 2 chips on one controller?

We can make it "#define NAND_MAX_CHIPS 2" if that's appropriate, but
defining it to CONFIG_SYS_MAX_NAND_DEVICE doesn't seem to make sense.

-Scott