MLK-22580-1: nand: mxs_nand: make imx8mm-evk can use hardware BCH and
authorAlice Guo <alice.guo@nxp.com>
Fri, 11 Oct 2019 14:30:21 +0000 (22:30 +0800)
committerYe Li <ye.li@nxp.com>
Tue, 15 Oct 2019 09:37:35 +0000 (02:37 -0700)
commit14772d11c4674adab8eea0132988a6f5e1f425dd
treeef699aa43cc22a89876a4030e813b4620591485f
parent4886ec745e0ac8c38f2d61546eebca8cd0dfeb17
MLK-22580-1: nand: mxs_nand: make imx8mm-evk can use hardware BCH and
randomizer

imx8mm-evk needs to BCH encode and set NAND page number needed to be
randomized

modify conditional compilation

Should use CONFIG_IMX8M, it should apply to imx8mq/mm/mn

Signed-off-by: Alice Guo <alice.guo@nxp.com>
(cherry picked from commit da40cd99e4b3a78d2609ee777d60d651d6dbc313)
drivers/mtd/nand/raw/mxs_nand.c