commit | 06f384c9010ea7fa1146b9dfdd419d99c9b8a962 | [log] [tgz] |
---|---|---|
author | Rafał Miłecki <zajec5@gmail.com> | Sun Apr 17 22:53:05 2016 +0200 |
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | Thu May 05 23:55:10 2016 +0200 |
tree | 0c93f6f3bfca05225e784fb5f73556ab8782f8f3 | |
parent | ef296dc947f6a9300a7fb5b696d1e1f543479e18 [diff] |
mtd: nand: read ECC algorithm from the new field Now we have all drivers properly setting this new field we can start using it. For a very short period of time we should support both values: NAND_ECC_SOFT and NAND_ECC_SOFT_BCH treating them the same. It's because of_get_nand_ecc_mode may still be setting NAND_ECC_SOFT_BCH. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>