Name

nand_write_subpage_hwecc — [REPLACABLE] hardware ECC based subpage write

Synopsis

int nand_write_subpage_hwecc (struct mtd_info * mtd,
 struct nand_chip * chip,
 uint32_t offset,
 uint32_t data_len,
 const uint8_t * data_buf,
 int oob_required);
 

Arguments

mtd

mtd info structure

chip

nand chip info structure

offset

-- undescribed --

data_len

data length

data_buf

-- undescribed --

oob_required

must write chip->oob_poi to OOB