OSDN Git Service

mtd: nand: mxc: Add own write_page
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 17 Jan 2018 11:32:11 +0000 (12:32 +0100)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Mon, 12 Feb 2018 22:35:45 +0000 (23:35 +0100)
commit6811c4642aa0b40e3199aa7fb86053be1ee10ad8
tree95c97df46f10f9eaedd9e1daf3f808f1a0d532ca
parent5039fc9f2d6db603cba48c770e29251d661ce4e2
mtd: nand: mxc: Add own write_page

Now that we have our own read_page function add a write_page function
for consistency aswell. This can be a lot easier than the generic
function since we do not have to iterate over subpages but can write
the whole page at once. Also add write_page_raw and write_oob for
proper raw and oob write support.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
drivers/mtd/nand/mxc_nand.c