diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2024-08-26 13:14:10 +0300 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2024-09-06 18:00:12 +0300 |
commit | 18073e395cd6d0de1427c4248380ccdbf937375d (patch) | |
tree | b153b1573b1db050b1ecbfead07130a832774fc8 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ed148d30eaf4ff55c95ae495ad9b9ffb970f7826 (diff) | |
download | linux-18073e395cd6d0de1427c4248380ccdbf937375d.tar.xz |
mtd: spi-nand: macronix: Extract the bitflip retrieval logic
With GET_STATUS commands, SPI-NAND devices can tell the status of the
last read operation, in particular if there was:
- no bitflips
- corrected bitflips
- uncorrectable bitflips
The next step then to read an ECC status register and retrieve the
amount of bitflips, when relevant, if possible. The logic used here
works well for now, but will no longer apply to continuous reads. In
order to prepare the introduction of continuous reads, let's factorize
out the code that is specific to single-page reads.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20240826101412.20644-8-miquel.raynal@bootlin.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions