nand: mxs_nand: make imx8mm can use hardware BCH and randomizer
authorAlice Guo <alice.guo@nxp.com>
Mon, 4 May 2020 14:08:59 +0000 (22:08 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 10 May 2020 18:55:20 +0000 (20:55 +0200)
commitf290fe0a4291a6251358aaca7a3f25964f0e12da
tree95859e004acdd61c312560b8f0803a8811b17038
parent17282f45abba6f10842adafdd47c0f24cae6b0ef
nand: mxs_nand: make imx8mm can use hardware BCH and randomizer

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

modify conditional compilation

Use CONFIG_IMX8M, so it apply to imx8mq/mm/mn

Signed-off-by: Alice Guo <alice.guo@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/mtd/nand/raw/mxs_nand.c