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

Tom Rini trini at ti.com
Tue Sep 25 02:13:04 CEST 2012


On Mon, Sep 24, 2012 at 07:02:18PM -0500, Scott Wood wrote:
> 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?

Yeah, and maybe some quick checking to see which are really needed (just
need to build-check say omap3_beagle and da850evm to cover all of the
"omap" and then davinci platforms).  Looking at the omap3_beagle discard
map I have handy, we might be able to toss some stuff out.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120924/64c8396c/attachment.pgp>


More information about the U-Boot mailing list