other versions
- stretch 4.9.168-1
NAND_WRITE_PAGE_SYND(9) | Internal Functions Provided | NAND_WRITE_PAGE_SYND(9) |
NAME¶
nand_write_page_syndrome - [REPLACEABLE] hardware ECC syndrome based page writeSYNOPSIS¶
int nand_write_page_syndrome(struct mtd_info * mtd, struct nand_chip * chip, const uint8_t * buf, int oob_required, int page);
ARGUMENTS¶
mtdmtd 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@linutronix.de>Author.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |