[PATCH 3/5] mtd: nand: atmel: use default ecc layout

Richard Genoud richard.genoud at gmail.com
Fri May 15 15:57:39 EDT 2009


2009/5/15 Richard Genoud <richard.genoud at gmail.com>:
> 2009/5/14 Troy Kisky <troy.kisky at boundarydevices.com>:
>> Haavard Skinnemoen wrote:
>>> I also suspect it will break hardware ECC. The ECC controller is a bit
>>> picky about the OOB layout, which is why the defaults were overriden in
>>> the first place.
>>>
>>> Haavard

Looking at the first 2 patches on nand_base.c, it seems that the HW
ECC layout for small pages will be the same (ecc at offsets 0,1,2,3)
wich is good (because it's the only possible place).

For large pages, the HW ECC layout will change from [60,61,62,63] to
[2,3,4,5]. The ecc will still be correct, but as david said, the
compatibility won't.

richard.



More information about the linux-mtd mailing list