The NAND sub-layers are likely to need the MTD_OPS_XXX mode information in order to decide if they should enable/disable ECC or how they should place the OOB bytes in the provided OOB buffer. Add a field to nand_page_io_req to pass this information. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Change-Id: Idb70434140c0304cfc97d7f3c52cbeca349fdff8 Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit f86787280b37e381f8d82f48583434d62dd16e27) |
||
|---|---|---|
| .. | ||
| bbm.h | ||
| cfi.h | ||
| concat.h | ||
| doc2000.h | ||
| flashchip.h | ||
| fsl_upm.h | ||
| fsmc_nand.h | ||
| mtd.h | ||
| nand.h | ||
| nand_bch.h | ||
| nand_ecc.h | ||
| ndfc.h | ||
| omap_elm.h | ||
| omap_gpmc.h | ||
| onenand.h | ||
| onenand_regs.h | ||
| partitions.h | ||
| rawnand.h | ||
| samsung_onenand.h | ||
| spi-nor.h | ||
| spinand.h | ||
| st_smi.h | ||
| ubi.h | ||