nand_write_oob

Name

nand_write_oob --  [MTD Interface] NAND write out-of-band

Synopsis

int nand_write_oob (struct mtd_info * mtd, loff_t to, size_t len, size_t * retlen, const u_char * buf);

Arguments

mtd

MTD device structure

to

offset to write to

len

number of bytes to write

retlen

pointer to variable to store the number of written bytes

buf

the data to write

Description

NAND write out-of-band