Home
last modified time | relevance | path

Searched hist:"87 a1a21db688d7091580cfd71e08ae87cff13554" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/include/linux/mtd/
H A Dnand.h87a1a21db688d7091580cfd71e08ae87cff13554 Thu Aug 16 15:30:10 UTC 2018 Boris Brezillon <boris.brezillon@bootlin.com> UPSTREAM: mtd: nand: Pass mode information to nand_page_io_req

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)