From: Scott Wood Date: Thu, 28 Jul 2011 14:59:50 -0500 Subject: [U-Boot] [PATCH 1/2] nand: Freescale Integrated Flash Controller NAND support In-Reply-To: References: <1311881837-1168-1-git-send-email-galak@kernel.crashing.org> Message-ID: <20110728145950.5aba5862@schlenkerla.am.freescale.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 28 Jul 2011 14:54:38 -0500 Kumar Gala wrote: > > On Jul 28, 2011, at 2:37 PM, Kumar Gala wrote: > > > From: Dipen Dudhat > > > > 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 > > [scottwood at freescale.com: ECC rework and misc fixes] > > Signed-off-by: Scott Wood > > --- > > 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