mtd: drop support for NAND_ECC_SOFT_BCH as "soft_bch" mapping
commitae211bcfa1d013bea16912e7caebb1367740d4b4
authorRafał Miłecki <zajec5@gmail.com>
Sun, 17 Apr 2016 20:53:06 +0000 (17 22:53 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 5 May 2016 21:55:13 +0000 (5 23:55 +0200)
tree70b1e9a53102f7b1210b1dbe3a1a282b2c4a881c
parent06f384c9010ea7fa1146b9dfdd419d99c9b8a962
mtd: drop support for NAND_ECC_SOFT_BCH as "soft_bch" mapping

There isn't any difference between handling NAND_ECC_SOFT and
NAND_ECC_SOFT_BCH now. What matters is the new field called "algo".
Please note we're keeping backward DT compatibility. We are still
treating "soft_bch" value as the one setting Hamming algorithm, it's
just handled in of_get_nand_ecc_algo now.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/nand/nand_base.c