[U-Boot] [PATCH 1/2] nand: Freescale Integrated Flash Controller NAND support
Scott Wood
scottwood at freescale.com
Thu Jul 28 21:59:50 CEST 2011
On Thu, 28 Jul 2011 14:54:38 -0500
Kumar Gala <galak at kernel.crashing.org> wrote:
>
> On Jul 28, 2011, at 2:37 PM, Kumar Gala wrote:
>
> > From: Dipen Dudhat <Dipen.Dudhat at freescale.com>
> >
> > Add NAND support (including spl) on IFC, such as is found on the p1010.
> >
> > Note that using hardware ECC on IFC with small-page NAND (which is what
> > comes on the p1010rdb reference board) means there will be insufficient
> > OOB space for JFFS2, since IFC does not support 1-bit ECC. UBI should
> > work, as it does not use OOB for anything but ECC.
> >
> > When hardware ECC is not enabled in CSOR, software ECC is now used.
> >
> > Signed-off-by: Dipen Dudhat <Dipen.Dudhat at freescale.com>
> > [scottwood at freescale.com: ECC rework and misc fixes]
> > Signed-off-by: Scott Wood <scottwood at freescale.com>
> > ---
> > arch/powerpc/cpu/mpc85xx/cpu_init_nand.c | 10 +
> > arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds | 18 +-
> > arch/powerpc/include/asm/fsl_ifc.h | 6 +-
> > drivers/mtd/nand/Makefile | 1 +
> > drivers/mtd/nand/fsl_ifc_nand.c | 850 ++++++++++++++++++++++++++
> > nand_spl/nand_boot_fsl_ifc.c | 268 ++++++++
> > 6 files changed, 1146 insertions(+), 7 deletions(-)
> > create mode 100644 drivers/mtd/nand/fsl_ifc_nand.c
> > create mode 100644 nand_spl/nand_boot_fsl_ifc.c
>
> Scott,
>
> Do you want to take this via nand tree or just have me pull it in via 85xx with the other P1010 patches?
It can go via 85xx.
-Scott
More information about the U-Boot
mailing list