[U-Boot] [PATCH 03/13] spl mxc nand: Merge duplicated code

Stefano Babic sbabic at denx.de
Tue Aug 14 11:25:35 CEST 2012


On 13/08/2012 22:48, Benoît Thébaudeau wrote:
> Merge duplicated code into functions, which is better for SPL size too.
> 
> Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau at advansee.com>
> Cc: Scott Wood <scottwood at freescale.com>
> Cc: Stefano Babic <sbabic at denx.de>
> ---

Hi Benoît,

>  .../nand_spl/nand_boot_fsl_nfc.c                   |   50 +++++++++-----------
>  1 file changed, 23 insertions(+), 27 deletions(-)
> 
> diff --git u-boot-4d3c95f.orig/nand_spl/nand_boot_fsl_nfc.c u-boot-4d3c95f/nand_spl/nand_boot_fsl_nfc.c
> index b90f93e..b98fe41 100644
> --- u-boot-4d3c95f.orig/nand_spl/nand_boot_fsl_nfc.c
> +++ u-boot-4d3c95f/nand_spl/nand_boot_fsl_nfc.c
> @@ -83,37 +83,35 @@ static void nfc_nand_command(unsigned short command)
>  	nfc_wait_ready();
>  }

Surely a good issue to fix if we go on using nand_spl - however, as I
said in my previous e-mail, nand_spl is obsolete and we move to the SPL
framework.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list