[U-Boot] [PATCH] Decreases code size of the nand_spl

Scott Wood scottwood at freescale.com
Fri May 13 18:16:29 CEST 2011


On Wed, May 04, 2011 at 09:10:15AM -0400, Alex Waterman wrote:
> From b59f1e5b0bc3684615756c12fd5c5f9fcaa4c812 Mon Sep 17 00:00:00 2001
> From: Alex Waterman <awaterman at dawning.com>
> Date: Tue, 3 May 2011 15:00:23 -0400
> Subject: [PATCH] Decreases code size of the nand_spl
> 
> The canyonland boards nand_spl size is just under the maximum 4KByte size. This
> patch decreases the size of the nand_spl to make a previous commit - commit
> 65a9db7be0868be91ba81b9b5bf821de82e6d9b0 - fit in the nand_spl.
> 
> Signed-off-by: Alex Waterman <awaterman at dawning.com>
> ---
> This patch uses a function pointer declared as a local variable; checkpatch didn't
> mind but this seems like it could be (stylistically) a very bad idea. Any thoughts?
> 
>  nand_spl/nand_boot.c |   18 ++++++++++--------
>  1 files changed, 10 insertions(+), 8 deletions(-)

Applied to u-boot-nand-flash

-Scott



More information about the U-Boot mailing list