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

Kumar Gala galak at kernel.crashing.org
Sat Apr 9 17:53:34 CEST 2011


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.

- k


More information about the U-Boot mailing list