commit | f8015523b63ea2c891ed3caf29a9035dcc886efb | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Mon Apr 04 18:17:20 2022 +0200 |
committer | Priyanka Jain <priyanka.jain@nxp.com> | Tue Apr 26 17:18:39 2022 +0530 |
tree | fd0d0eb896c399d9d7be5dded8b8ecc28ffa4916 | |
parent | bb834db835ad3518fd2c5b775091a9b8d3e82b6f [diff] |
mtd: rawnand: fsl_elbc: Use ECC configuration from device tree Initialize ECC configuration after nand_scan_ident() call and only in case nand_scan_ident() have not done it. nand_scan_ident() fills ECC configuration from device tree. Fixes usage of NAND_ECC_SOFT_BCH when it is specified in device tree. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>