MLK-22827-2: mxs_nand: don't check zero count when ECC reading with randomizer
authorHan Xu <han.xu@nxp.com>
Mon, 21 Oct 2019 15:42:02 +0000 (10:42 -0500)
committerYe Li <ye.li@nxp.com>
Thu, 24 Oct 2019 01:55:54 +0000 (18:55 -0700)
commit887f338901ed9726a124d8b564d8f115b66fe763
treec9d067d948aab7b7ea26a9b4412f135b2ac4f808
parentcf02f888e3a42dacf026ab5fe96ffe5fdcbd3115
MLK-22827-2: mxs_nand: don't check zero count when ECC reading with randomizer

When enabled randomizer during ECC reading, the controller reported it's
erased page. Checking zero count will cause data get modified to all
0xFF. Stop checking during randomizer to workaround this issue.

Signed-off-by: Han Xu <han.xu@nxp.com>
(cherry picked from commit f88f68f29026b084396db003c60e0c15995d1670)
drivers/mtd/nand/raw/mxs_nand.c