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

Wolfgang Denk wd at denx.de
Fri Jan 16 09:22:01 CET 2009


Dear Wolfgang,

In message <49703E5B.1080604 at grandegger.com> you wrote:
> 
> Yep, in the meantime I realized that it's already pre-set in
> include/linux/mtd/nand.h:
> 
>   /* The maximum number of NAND chips in an array */
>   #ifndef NAND_MAX_CHIPS
>   #define NAND_MAX_CHIPS          8
>   #endif
> 
> but most (if not all) boards set it to 1.

So we should change the default setting to 1, and change it only where
needed.

> But at that occasion, I think the name should be changed to
> CONFIG_SYS_NAND_MAX_CHIPS, right?

Right.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
We, the unwilling, led by the unknowing, are doing the impossible for
the ungrateful. We have done so much, for so long, with so little, we
are now qualified to do anything with nothing.


More information about the U-Boot mailing list