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

Stefano Babic
2012-08-14T09:25:35Z

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@advansee.com>
> Cc: Scott Wood <scottwood@freescale.com>
> Cc: Stefano Babic <sbabic@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
=====================================================================