nand_write_page_syndrome (9) Linux Manual Page
nand_write_page_syndrome – [REPLACEABLE] hardware ECC syndrome based page write
Synopsis
int nand_write_page_syndrome(struct mtd_info *mtd, struct nand_chip *chip, const uint8_t *buf, int oob_required, int page);
Arguments
mtd
-
- mtd info structure
chip
- nand chip info structure
buf
- data buffer
oob_required
- must write chip->oob_poi to OOB
page
- page number to write
Description
The hw generator calculates the error syndrome automatically. Therefore we need a special oob layout and handling.
Author
Thomas Gleixner <tglx [at] linutronix.de>
- Author.
