[U-Boot] [PATCH v1 2/2] nand/spl: Assuming a static nand page size to reduce code size

Scott Wood scottwood at freescale.com
Mon Apr 11 18:36:21 CEST 2011


On Sat, 9 Apr 2011 10:53:34 -0500
Kumar Gala <galak at kernel.crashing.org> wrote:

> 
> On Apr 5, 2011, at 2:39 PM, Matthew McClintock wrote:
> 
> > Change variables to const to reduce code size, these values are
> > hardcoded via defines anyways so we might as well assume they
> > are constants
> > 
> > Signed-off-by: Matthew McClintock <msm at freescale.com>
> > cc: Scott Wood <scottwood at freescale.com>
> > ---
> > With this change we can reduce the size of the nand_spl by
> > 148 bytes with my particular board/compiler
> > 
> > v1: Add prior patch to correct naming of CONFIG_SYS_NAND_*_PRELIM
> > 
> > nand_spl/nand_boot_fsl_elbc.c |   10 +++++-----
> > 1 files changed, 5 insertions(+), 5 deletions(-)
> 
> Scott, do you want this to go via nand tree or 85xx ok?  if 85xx ok please ack.

I'll take it.

-Scott



More information about the U-Boot mailing list