[U-Boot] nand: Extending the nand_ecclayout struct based on Linux 3.5

Scott Wood scottwood at freescale.com
Fri Nov 16 02:44:32 CET 2012


On 11/15/2012 06:05:35 PM, Scott Wood wrote:
> On Thu, Sep 27, 2012 at 11:18:38AM -0000, Charles Hardin wrote:
> > NANDs with large page sizes are getting oob ares of 218 and 224
> > so the eccpos field needs to support these larger areas since
> > BCH ECC correction with 24-bit over 1024 bytes will use 168 bytes
> > of the oob for ECC and is required for current MLC NAND parts
> > circa 2012.
> >
> > Signed-off-by: Charles Hardin <ckhardin at exablox.com>
> 
> Applied to u-boot-nand-flash

Unapplied.

It breaks cam_enc_4xx by making the BSS too large (please work with the  
maintainer of this board, Heiko Schocher, to find a solution).

It breaks various onenand boards (such as nhk8815) because they refer  
to MTD_MAX_OOBFREE_ENTRIES but you didn't fix the users.

-Scott


More information about the U-Boot mailing list