nand: Freescale Integrated Flash Controller NAND support
authorDipen Dudhat <Dipen.Dudhat@freescale.com>
Tue, 22 Mar 2011 03:57:39 +0000 (09:27 +0530)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 30 Sep 2011 00:01:04 +0000 (19:01 -0500)
commit52f90dad60d2252ec34c208cae1100bc75201ec7
treeac51b1ccc0fc541ee8ace1dfc6fe51f0dd8778ec
parent49249e137daeec4d51c99aa69a8459d2f11cd94d
nand: Freescale Integrated Flash Controller NAND support

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@freescale.com>
[scottwood@freescale.com: ECC rework and misc fixes]
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/cpu/mpc85xx/cpu_init_nand.c
arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds
arch/powerpc/include/asm/fsl_ifc.h
drivers/mtd/nand/Makefile
drivers/mtd/nand/fsl_ifc_nand.c [new file with mode: 0644]
nand_spl/nand_boot_fsl_ifc.c [new file with mode: 0644]