[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 20:56:08 CEST 2011
On Tue, Apr 05, 2011 at 02:39:34PM -0500, 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
Applied to u-boot-nand-flash
-Scott
More information about the U-Boot
mailing list