]> git.baikalelectronics.ru Git - uboot.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)
commit07f11deea213193963a9f673f364cb496ed2d4ac
tree269928c701547186ec9b505aec990b371b16928a
parentd2d0b72cc3291e105a4db0bff3f7a2d41eced5ba
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