]> git.karo-electronics.de Git - linux-beck.git/commit
mtd: brcmnand: Add check for erased page bitflips
authorKamal Dasu <kdasu.kdev@gmail.com>
Thu, 9 Jun 2016 21:17:54 +0000 (17:17 -0400)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 13 Jun 2016 15:03:23 +0000 (17:03 +0200)
commit02b88eea9f9cab82f5f4be234c64466503021f82
treeb1e1f53c7a6d1605c19cd713079fb898e513a200
parent1c7fe6b438433e16d5b1211380c305351ac38299
mtd: brcmnand: Add check for erased page bitflips

Check for erased page bitflips in a page. And if well within
threshold return data as all 0xff. Apply sw check for controller
version < 7.2. Controller vesion >= 7.2 has hw support.

Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/brcmnand/brcmnand.c