- int nand_write(struct mtd_info * mtd, loff_t to, size_t len, size_t * retlen, const uint8_t * buf);
- MTD device structure
- offset to write to
- number of bytes to write
- pointer to variable to store the number of written bytes
- the data to write
NAND write with ECC.
Thomas Gleixner <[email protected]>