commit | 39138c1f4a31f3468fa2e44aba4495c0c30da205 | [log] [tgz] |
---|---|---|
author | Wan, Jane (Nokia - US/Sunnyvale) <jane.wan@nokia.com> | Sun May 13 04:30:02 2018 +0000 |
committer | Boris Brezillon <boris.brezillon@bootlin.com> | Sun May 13 09:50:16 2018 +0200 |
tree | 66ff67df4e0bc9df7f2bb6cb87c354f08d5d880b | |
parent | a676688032e819c4bb1999a422553a1a1f52ce45 [diff] |
mtd: rawnand: use bit-wise majority to recover the ONFI param page Per ONFI specification (Rev. 4.0), if all parameter pages have invalid CRC values, the bit-wise majority may be used to recover the contents of the parameter page from the parameter page copies present. Signed-off-by: Jane Wan <Jane.Wan@nokia.com> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>