diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-01-17 14:32:10 +0300 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-02-13 01:35:38 +0300 |
commit | 5039fc9f2d6db603cba48c770e29251d661ce4e2 (patch) | |
tree | 63f79c3f77896aeedaff0b9c600ed0524d7212da /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 67b87f66cae0bca0dd6602739383381c10b0c9c4 (diff) | |
download | linux-5039fc9f2d6db603cba48c770e29251d661ce4e2.tar.xz |
mtd: nand: mxc: Fix failed/corrected values for v1 controllers
The v1 controller code has several flaws:
- We do not forward the number of corrected bitflips to the upper layers
- For 2k page NAND chips only the status results from the fourth subpage
read are evaluated, so ECC failures in the other subpages remain
uncovered
- When there are uncorrectable errors we have to increase the statistics
counter, but still have to return successfully. Currently we return
an error
This patch fixes this by introducing a v1 specific read_page function.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions