mtd: nand: Support maximizing ECC when using software BCH
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 8 Jun 2016 15:04:23 +0000 (17:04 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 23 Sep 2016 07:35:16 +0000 (09:35 +0200)
commit8bbba48124f2ace8f8bf382539d7115f0f307eeb
treeae1b7cff469a712a908d550cfec391e169d70296
parentba78ee00e1ff84de9b3ad33edbd3ec599099ee82
mtd: nand: Support maximizing ECC when using software BCH

Add support for ECC maximization when software BCH with
nand_ooblayout_lp_ops layout is used.
Other cases should be handled by the NAND controller driver.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/nand_base.c