[U-Boot] [RFC PATCH 11/17] spl/nand: introduce CONFIG_SPL_NAND_MINIMAL

Scott Wood scottwood at freescale.com
Tue Sep 25 02:02:18 CEST 2012


On 09/24/2012 06:55:49 PM, Tom Rini wrote:
> On Fri, Sep 21, 2012 at 07:01:21PM -0500, Scott Wood wrote:
> 
> > This will be used by SPL builds that do not use the standard  
> nand_base.c
> > and friends.
> [snip]
> > --- a/drivers/mtd/nand/Makefile
> > +++ b/drivers/mtd/nand/Makefile
> [snip]
> > +ifdef CONFIG_SPL_NAND_MINIMAL
> > +# minimal-only files go here
> >  else
> > +CONFIG_SPL_NAND_ECC=y
> > +CONFIG_SPL_NAND_BASE=y
> > +CONFIG_SPL_NAND_DRIVERS=y
> > +endif
> 
> OK, why don't we just use these as regular board-config.h file based
> options?  We already have to set a number of CONFIG_SYS_NAND defines.

OK -- just add them to all boards that currently have  
CONFIG_SPL_NAND_SUPPORT?

-Scott


More information about the U-Boot mailing list