]> git.dujemihanovic.xyz Git - u-boot.git/commit
mxs_nand: don't check zero count when ECC reading with randomizer
authorHan Xu <han.xu@nxp.com>
Mon, 4 May 2020 14:09:02 +0000 (22:09 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 10 May 2020 18:55:20 +0000 (20:55 +0200)
commitf7bb012ab7e19d3ede6c0e9a39edd6a37bd598ff
tree269928c701547186ec9b505aec990b371b16928a
parenta59691280dacae478183c95a93c5f00f4717d49c
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>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/mtd/nand/raw/mxs_nand.c