|
@@ -584,6 +584,8 @@ struct platform_nand_chip {
|
|
|
* @select_chip: platform specific chip select function
|
|
|
* @cmd_ctrl: platform specific function for controlling
|
|
|
* ALE/CLE/nCE. Also used to write command and address
|
|
|
+ * @write_buf: platform specific function for write buffer
|
|
|
+ * @read_buf: platform specific function for read buffer
|
|
|
* @priv: private data to transport driver specific settings
|
|
|
*
|
|
|
* All fields are optional and depend on the hardware driver requirements
|
|
@@ -594,6 +596,10 @@ struct platform_nand_ctrl {
|
|
|
void (*select_chip)(struct mtd_info *mtd, int chip);
|
|
|
void (*cmd_ctrl)(struct mtd_info *mtd, int dat,
|
|
|
unsigned int ctrl);
|
|
|
+ void (*write_buf)(struct mtd_info *mtd,
|
|
|
+ const uint8_t *buf, int len);
|
|
|
+ void (*read_buf)(struct mtd_info *mtd,
|
|
|
+ uint8_t *buf, int len);
|
|
|
void *priv;
|
|
|
};
|
|
|
|