[PATCH] MTD: NAND: fsl_elbc_nand: fix OOB workability for large page NAND chips

Scott Wood scottwood at freescale.com
Thu Jun 26 14:59:45 EDT 2008


Anton Vorontsov wrote:
> For large page chips, nand_bbt is looking into OOB area, and checking
> for "0xff 0xff" pattern at OOB offset 0. That is, two bytes should be
> reserved for bbt means.

Interesting... both the 8313 manual and the manual for a random large 
page NAND chip say that the bad block indicator is one byte.

BTW, I was just looking at NAND boot on this chip, and it seems that it 
expects ECCM=1 for large page devices, so we should make that the 
default (preferably at the same time as we fix this problem, so that we 
don't break compatibility with a working version).

-Scott



More information about the linux-mtd mailing list