mtd: rawnand: Expose monolithic read/write_page_raw() helpers
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 7 May 2020 10:52:39 +0000 (12:52 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 11 May 2020 07:51:43 +0000 (09:51 +0200)
commit658beb6639606268bd48eb7de7cf308d6b10600f
tree27a28822f408b54503fe0ede6e221df4b577daf4
parentdaca31765e8bea70373fc9e604f562942168300b
mtd: rawnand: Expose monolithic read/write_page_raw() helpers

The current nand_read/write_page_raw() helpers are already widely used
but do not fit the purpose of "constrained" controllers which cannot,
for instance, separate command/address cycles with data cycles.

Workaround this issue by proposing alternative helpers that can be
used by these controller drivers instead.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://lore.kernel.org/linux-mtd/20200507105241.14299-12-miquel.raynal@bootlin.com
drivers/mtd/nand/raw/nand_base.c
include/linux/mtd/rawnand.h