nand_write_page_syndrome — [REPLACABLE] hardware ecc syndrom based page write
void nand_write_page_syndrome
(struct mtd_info * mtd, struct nand_chip * chip, const uint8_t * buf);
mtd info structure
nand chip info structure
data buffer
The hw generator calculates the error syndrome automatically. Therefor we need a special oob layout and handling.