Skip to content
Commit c9ea9019 authored by This contributor prefers not to receive mails's avatar This contributor prefers not to receive mails Committed by Priyanka Jain
Browse files

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: default avatarPali Rohár <pali@kernel.org>
Reviewed-by: default avatarPriyanka Jain <priyanka.jain@nxp.com>
parent da98ddaf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment