From: Scott Wood Date: Tue, 5 Apr 2011 14:03:50 -0500 Subject: [U-Boot] [PATCH] nand/spl: Assuming a static nand page size to reduce code size In-Reply-To: References: <1302017445-29331-1-git-send-email-msm@freescale.com> <20110405184829.GB31867@schlenkerla.am.freescale.net> Message-ID: <20110405140350.37fb9928@schlenkerla.am.freescale.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, 5 Apr 2011 14:00:23 -0500 McClintock Matthew-B29882 wrote: > On Tue, Apr 5, 2011 at 1:48 PM, Scott Wood wrote: > > When building for MPC8315ERDB_NAND, I get: > > > > nand_boot_fsl_elbc.c: In function 'nand_load': > > nand_boot_fsl_elbc.c:54:20: error: 'CONFIG_NAND_OR_PRELIM' undeclared (first use in this function) > > nand_boot_fsl_elbc.c:54:20: note: each undeclared identifier is reported only once for each function it appears in > > > > It appears 85xx calls it CONFIG_NAND_OR_PRELIM, and 83xx calls it > > CONFIG_SYS_NAND_OR_PRELIM. ?The latter seems like what we should be > > using. > > > > I can't figure out what's "prelim" about it either, but that's another > > matter. ?:-) > > I'll submit a follow up patch renaming CONFIG_NAND_OR_PRELIM to > CONFIG_SYS_NAND_OR_PRELIM and CONFIG_NAND_BR_PRELIM to > CONFIG_SYS_NAND_BR_PRELIM? Should I go ahead and drop the PRELIM as > well? Just add the SYS, dropping PRELIM everywhere would be a bigger rename and should be done separately if we decide to do that. -Scott