On 08/21/2012 04:04 PM, Benoît Thébaudeau wrote: > diff --git u-boot-imx-88e73dd.orig/nand_spl/nand_boot_fsl_nfc.c > u-boot-imx-88e73dd/nand_spl/nand_boot_fsl_nfc.c > index a40c998..1096727 100644 > --- u-boot-imx-88e73dd.orig/nand_spl/nand_boot_fsl_nfc.c > +++ u-boot-imx-88e73dd/nand_spl/nand_boot_fsl_nfc.c > @@ -30,64 +30,117 @@ > #include <asm/io.h> > #include <fsl_nfc.h> > > +#if defined(MXC_NFC_V1) || defined(MXC_NFC_V2_1) > static struct fsl_nfc_regs *const nfc = (void *)NFC_BASE_ADDR; > +#elif defined(MXC_NFC_V3_2) > +static struct fsl_nfc_regs *const nfc = (void *)NFC_BASE_ADDR_AXI; > +static struct fsl_nfc_ip_regs *const nfc_ip = (void *)NFC_BASE_ADDR; > +#endif
Please migrate to the new SPL. > + tmp = (readnfc(&nfc_ip->config2) & ~(NFC_V3_CONFIG2_SPAS_MASK | > + NFC_V3_CONFIG2_EDC_MASK | NFC_V3_CONFIG2_PS_MASK)) | > + NFC_V3_CONFIG2_SPAS(CONFIG_SYS_NAND_SPARE_SIZE / 2) | > + NFC_V3_CONFIG2_INT_MSK | NFC_V3_CONFIG2_ECC_EN | > + NFC_V3_CONFIG2_ONE_CYCLE; CONFIG_SYS_NAND_SPARE_SIZE needs to go in the README. -Scott _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot