[replacable] hardware ecc based subpage write
int nand_write_subpage_hwecc(struct mtd_info * mtd, struct nand_chip * chip, uint32_t offset, uint32_t data_len, const uint8_t * buf, int oob_required);
mtd
mtd info structure
chip
nand chip info structure
offset
column address of subpage within the page
data_len
data length
buf
data buffer
oob_required
must write chip->oob_poi to OOB
Thomas Gleixner <[email protected]>
Author.