Re: [U-Boot] [PATCH v5 2/8] lpc32xx: mtd: nand: add MLC NAND controller

2015-03-17 Thread Albert ARIBAUD
Hi Scott, Le Mon, 16 Mar 2015 16:30:29 -0500, Scott Wood scottw...@freescale.com a écrit : On Sat, 2015-03-14 at 15:27 +0100, Albert ARIBAUD wrote: Bonjour Scott, Le Fri, 13 Mar 2015 16:57:33 -0500, Scott Wood scottw...@freescale.com a écrit : On Fri, 2015-03-13 at 09:04 +0100,

Re: [U-Boot] [PATCH v5 2/8] lpc32xx: mtd: nand: add MLC NAND controller

2015-03-16 Thread Scott Wood
On Sat, 2015-03-14 at 15:27 +0100, Albert ARIBAUD wrote: Bonjour Scott, Le Fri, 13 Mar 2015 16:57:33 -0500, Scott Wood scottw...@freescale.com a écrit : On Fri, 2015-03-13 at 09:04 +0100, Albert ARIBAUD (3ADEV) wrote: + /* go through all four small pages */ + for (i = 0; i 4; i++)

Re: [U-Boot] [PATCH v5 2/8] lpc32xx: mtd: nand: add MLC NAND controller

2015-03-14 Thread Albert ARIBAUD
Bonjour Scott, Le Fri, 13 Mar 2015 16:57:33 -0500, Scott Wood scottw...@freescale.com a écrit : On Fri, 2015-03-13 at 09:04 +0100, Albert ARIBAUD (3ADEV) wrote: + /* go through all four small pages */ + for (i = 0; i 4; i++) { + /* start auto decode (reads 528 NAND bytes)

Re: [U-Boot] [PATCH v5 2/8] lpc32xx: mtd: nand: add MLC NAND controller

2015-03-13 Thread Scott Wood
On Fri, 2015-03-13 at 09:04 +0100, Albert ARIBAUD (3ADEV) wrote: + /* go through all four small pages */ + for (i = 0; i 4; i++) { + /* start auto decode (reads 528 NAND bytes) */ + writel(0, lpc32xx_nand_mlc_registers-ecc_auto_dec_reg); + /* wait

[U-Boot] [PATCH v5 2/8] lpc32xx: mtd: nand: add MLC NAND controller

2015-03-13 Thread Albert ARIBAUD (3ADEV)
The controller's Reed-Solomon ECC hardware is used except of course for raw reads and writes. It covers in- and out-of-band data together. The SPL framework is supported. Signed-off-by: Albert ARIBAUD (3ADEV) albert.arib...@3adev.fr --- Changes in v5: - switch to CONFIG_SYS_NAND_SELF_INIT