mtd: rawnand: Prepare the late addition of supported operation checks
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 12 Jan 2023 09:36:36 +0000 (10:36 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 13 Jan 2023 16:35:49 +0000 (17:35 +0100)
commitb1f9ffbfda07acee9bdbc77416facf606647b523
tree461e3a5aed4845a8413002e552a5321ea4858380
parent9f820fc0651c32f8dde26b8e3ad93e1b9fdb62c4
mtd: rawnand: Prepare the late addition of supported operation checks

Add an empty envelope just to show how to add additional checks for new
operations. This is going to be used for sequential cached reads, which
require the page size to be known (and the discovery to be over), hence
the "late" designation.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Tested-by: Liao Jaime <jaimeliao.tw@gmail.com>
Link: https://lore.kernel.org/linux-mtd/20230112093637.987838-3-miquel.raynal@bootlin.com
drivers/mtd/nand/raw/nand_base.c