commit | f86787280b37e381f8d82f48583434d62dd16e27 | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@bootlin.com> | Thu Aug 16 17:30:10 2018 +0200 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Thu Sep 20 20:10:49 2018 +0530 |
tree | 449f4a48a248dd524baf2ec3b98df521a0aa98e0 | |
parent | b95db8d33a1e920801816e47ffc5c6f18acce024 [diff] |
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>