aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mtd/nand.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mtd/nand.h')
-rw-r--r--include/linux/mtd/nand.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index 85fef68a379d..5f3fdd9877b7 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -340,6 +340,7 @@ struct nand_hw_control {
340 * @read_subpage: function to read parts of the page covered by ECC. 340 * @read_subpage: function to read parts of the page covered by ECC.
341 * @write_page: function to write a page according to the ECC generator 341 * @write_page: function to write a page according to the ECC generator
342 * requirements. 342 * requirements.
343 * @write_oob_raw: function to write chip OOB data without ECC
343 * @read_oob: function to read chip OOB data 344 * @read_oob: function to read chip OOB data
344 * @write_oob: function to write chip OOB data 345 * @write_oob: function to write chip OOB data
345 */ 346 */
@@ -368,6 +369,8 @@ struct nand_ecc_ctrl {
368 uint32_t offs, uint32_t len, uint8_t *buf); 369 uint32_t offs, uint32_t len, uint8_t *buf);
369 void (*write_page)(struct mtd_info *mtd, struct nand_chip *chip, 370 void (*write_page)(struct mtd_info *mtd, struct nand_chip *chip,
370 const uint8_t *buf); 371 const uint8_t *buf);
372 int (*write_oob_raw)(struct mtd_info *mtd, struct nand_chip *chip,
373 int page);
371 int (*read_oob)(struct mtd_info *mtd, struct nand_chip *chip, int page, 374 int (*read_oob)(struct mtd_info *mtd, struct nand_chip *chip, int page,
372 int sndcmd); 375 int sndcmd);
373 int (*write_oob)(struct mtd_info *mtd, struct nand_chip *chip, 376 int (*write_oob)(struct mtd_info *mtd, struct nand_chip *chip,