diff options
author | Peng Fan <peng.fan@nxp.com> | 2016-05-07 16:58:24 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2017-04-05 14:04:27 +0800 |
commit | 37d7f9614aa357f270312d7ceaab0f7006dc5aea (patch) | |
tree | 27b1814f7c036bf3ad9f9deb689653e4274d260b /drivers/gpio/sx151x.c | |
parent | 026751697e41c7376414a8716cf0ea4bf998b85f (diff) | |
download | u-boot-imx-37d7f9614aa357f270312d7ceaab0f7006dc5aea.zip u-boot-imx-37d7f9614aa357f270312d7ceaab0f7006dc5aea.tar.gz u-boot-imx-37d7f9614aa357f270312d7ceaab0f7006dc5aea.tar.bz2 |
MLK-12693-2 nand: mxs: correct bitflip for erased NAND page
This patch is a porting of
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/commit/?h=imx_4.1.15_1.0.0_ga&id=e4dacc44d22e9474ec456cb330df525cd805ea38
"
i.MX6QP and i.MX7D BCH module integrated a new feature to detect the
bitflip number for erased NAND page. So for these two platform, set the
erase threshold to gf/2 and if bitflip detected, GPMI driver will
correct the data to all 0xFF.
Also updated the imx6qp dts file to ditinguish the GPMI module for i.MX6Q
with the one for i.MX6QP.
"
In this patch, i.MX6UL is added and threshold changed to use ecc_strength.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 489929be0221bb7d4c46bb5bc6083650b78f73e0)
Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'drivers/gpio/sx151x.c')
0 files changed, 0 insertions, 0 deletions