mtd: rawnand: mxs_nand: Fix use_minimum_ecc for spl driver
authorYe Li <ye.li@nxp.com>
Thu, 31 Mar 2022 05:27:47 +0000 (13:27 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 19 May 2022 19:39:36 +0000 (21:39 +0200)
commit9fd406de522ef1fb5863837eee1dd9bd99cd4b07
tree03306fbc3218bed1c39e26205231a811bfa6ff5b
parentf83bd23e2a0e9861969c9d43395299a14f25ddda
mtd: rawnand: mxs_nand: Fix use_minimum_ecc for spl driver

Because mxs_nand_spl driver does not support DM, to use the minimum ECC
layout, it needs to handle the CONFIG_NAND_MXS_USE_MINIMUM_ECC.

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Han Xu <han.xu@nxp.com>
drivers/mtd/nand/raw/mxs_nand.c