[PATCH 0/3] fixes three OOB handling issues in the OMAP GPMC
Wagner Popov dos Santos <[email protected]>
| Newsgroups | gmane.comp.boot-loaders.u-boot.general,gmane.comp.boot-loaders.u-boot |
|---|---|
| Message-ID | <[email protected]> |
This series fixes three OOB handling issues in the OMAP GPMC NAND driver when BCH ECC is enabled. The first patch reports the available OOB space to the NAND core, allowing JFFS2 cleanmarkers to be written. The second patch fixes the BCH16 OOB free length calculation so that all ECC steps are accounted for. The third patch preserves non-ECC OOB data during BCH page reads, including previously written JFFS2 cleanmarkers. Tested on AM3352 hardware with JFFS2 cleanmarker read and write operations. Wagner Popov dos Santos (3): mtd: nand: omap_gpmc: report available OOB bytes mtd: nand: omap_gpmc: fix BCH16 OOB free length mtd: nand: omap_gpmc: preserve OOB data during BCH reads drivers/mtd/nand/raw/omap_gpmc.c | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) -- 2.43.0