Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f567c71f authored by Boris Brezillon's avatar Boris Brezillon
Browse files

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: default avatarBoris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Tested-by: default avatarFrieder Schrempf <frieder.schrempf@exceet.de>
Reviewed-by: default avatarFrieder Schrempf <frieder.schrempf@exceet.de>
parent 782d1967
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment