[RFC] nand_btt : use nand chip->block_bad

Shmulik Ladkani shmulik.ladkani at gmail.com
Sat Jun 30 16:02:52 EDT 2012


Hi,

On Fri, 29 Jun 2012 10:41:18 +0200 Matthieu CASTET <matthieu.castet at parrot.com> wrote:
> > - The new scheme lacks the potential error correction offered by the
> >   mtd_read_oob call (invoked from the original scan functions).
> >   OTOH, currently, AFAIK, it is only offered by an out-of-tree driver.
> Could you explain more here ?
> The current scheme doesn't handle bitflip in bad block. We don't care about
> error correction : bad block are not protected by ecc !

I was refering to utilizing the ECC when reading the OOB, so we won't
get a false "bad" indication when reading the BBM from the OOB.

See this post (and subsequent ones):
http://lists.infradead.org/pipermail/linux-mtd/2012-June/042203.html

Regards,
Shmulik



More information about the linux-mtd mailing list