mtd: nand: mxs_nand: add minimal ECC support
authorStefan Agner <stefan.agner@toradex.com>
Fri, 22 Jun 2018 15:19:51 +0000 (17:19 +0200)
committerStefano Babic <sbabic@denx.de>
Wed, 27 Jun 2018 07:07:55 +0000 (09:07 +0200)
commit984df7add1fe6e5a25854eae81f51940806456bc
treeff0e152d44442cf4a0dabd03ae45a0f7cde4e6ce
parent5c69dd0730ff6bcad16e86fd93bf7a914d988a22
mtd: nand: mxs_nand: add minimal ECC support

Add support for minimum ECC strength supported by the NAND chip.
This aligns with the behavior when using the fsl,use-minimum-ecc
device tree property in Linux.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
drivers/mtd/nand/Kconfig
drivers/mtd/nand/mxs_nand.c