From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Mon, 24 Sep 2012 19:02:18 -0500 Subject: [U-Boot] [RFC PATCH 11/17] spl/nand: introduce CONFIG_SPL_NAND_MINIMAL In-Reply-To: <20120924235549.GN1797@bill-the-cat> (from trini@ti.com on Mon Sep 24 18:55:49 2012) References: <1348272087-29608-1-git-send-email-scottwood@freescale.com> <1348272087-29608-12-git-send-email-scottwood@freescale.com> <20120924235549.GN1797@bill-the-cat> Message-ID: <1348531338.25867.30@snotra> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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