You've already forked hardkernel-uboot
mirror of
https://github.com/archr-linux/hardkernel-uboot.git
synced 2026-03-31 15:05:07 -07:00
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)