should nand driver create ECC for a page after ERASE cmd?
Ezequiel Garcia
ezequiel at vanguardiasur.com.ar
Sat Dec 20 17:46:44 PST 2014
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
--
Ezequiel Garcia, VanguardiaSur
www.vanguardiasur.com.ar
More information about the linux-mtd
mailing list