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) |
||
|---|---|---|
| .. | ||
| byteorder | ||
| mtd | ||
| unaligned | ||
| usb | ||
| apm_bios.h | ||
| arm-smccc.h | ||
| bch.h | ||
| bitfield.h | ||
| bitops.h | ||
| bitrev.h | ||
| bug.h | ||
| build_bug.h | ||
| compat.h | ||
| compiler-clang.h | ||
| compiler-gcc.h | ||
| compiler-intel.h | ||
| compiler.h | ||
| crc7.h | ||
| crc8.h | ||
| crc32.h | ||
| ctype.h | ||
| delay.h | ||
| dma-direction.h | ||
| drm_dp_helper.h | ||
| dw_hdmi.h | ||
| edd.h | ||
| err.h | ||
| errno.h | ||
| ethtool.h | ||
| fb.h | ||
| hdmi.h | ||
| immap_qe.h | ||
| input.h | ||
| io.h | ||
| ioctl.h | ||
| iopoll.h | ||
| ioport.h | ||
| kbuild.h | ||
| kconfig.h | ||
| kernel.h | ||
| libfdt.h | ||
| libfdt_env.h | ||
| linkage.h | ||
| linux_string.h | ||
| list.h | ||
| list_sort.h | ||
| log2.h | ||
| lzo.h | ||
| math64.h | ||
| mbus.h | ||
| mc146818rtc.h | ||
| mdio.h | ||
| media-bus-format.h | ||
| mii.h | ||
| netdevice.h | ||
| poison.h | ||
| posix_types.h | ||
| printk.h | ||
| psci.h | ||
| rbtree.h | ||
| rbtree_augmented.h | ||
| screen_info.h | ||
| serial_reg.h | ||
| sizes.h | ||
| stat.h | ||
| stddef.h | ||
| string.h | ||
| stringify.h | ||
| time.h | ||
| typecheck.h | ||
| types.h | ||