From: Tom Rini Date: Mon, 24 Sep 2012 17:13:04 -0700 Subject: [U-Boot] [RFC PATCH 11/17] spl/nand: introduce CONFIG_SPL_NAND_MINIMAL In-Reply-To: <1348531338.25867.30@snotra> References: <1348272087-29608-1-git-send-email-scottwood@freescale.com> <1348272087-29608-12-git-send-email-scottwood@freescale.com> <20120924235549.GN1797@bill-the-cat> <1348531338.25867.30@snotra> Message-ID: <20120925001304.GQ1797@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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: