should nand driver create ECC for a page after ERASE cmd?
Oleksij Rempel
linux at rempel-privat.de
Sun Dec 21 06:13:25 PST 2014
Am 21.12.2014 um 02:46 schrieb Ezequiel Garcia:
> On 12/20/2014 05:42 AM, Oleksij Rempel wrote:
>> Hello all,
>>
>> i'm trying to pass mtd/tests for my driver.. on pagetest i fail on this
>> place:
>> http://lxr.free-electrons.com/source/drivers/mtd/tests/pagetest.c#L311
>>
>> after ERASE cmd this test trying to read same page. Driver will report
>> ECC error on read, because erased page has no ECC data in OOB.
>>
>> What is correct way to handle it?
>>
> [..]
>
> This might help, although I'm not sure it's the best solution.
>
> $ git grep is_buf_blank drivers/mtd/nand/pxa3xx_nand.c
>
Thank you! It should be good starting point.
--
Regards,
Oleksij
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20141221/e713d415/attachment.sig>
More information about the linux-mtd
mailing list