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.thebaud...@advansee.com> > Cc: Scott Wood <scottw...@freescale.com> > Cc: Stefano Babic <sba...@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: sba...@denx.de ===================================================================== _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot