]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: read ECC algorithm from the new field
authorRafał Miłecki <zajec5@gmail.com>
Sun, 17 Apr 2016 20:53:05 +0000 (22:53 +0200)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 5 May 2016 21:55:10 +0000 (23:55 +0200)
commit60ed9011e97c8460d4d19809984db28861661e31
tree0c93f6f3bfca05225e784fb5f73556ab8782f8f3
parent0470d134618bcb42172ddb865ce6502462bf0321
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>
drivers/mtd/nand/nand_base.c