Name

nand_read_subpage — [REPLACEABLE] ECC based sub-page read function

Synopsis

int nand_read_subpage (struct mtd_info * mtd,
 struct nand_chip * chip,
 uint32_t data_offs,
 uint32_t readlen,
 uint8_t * bufpoi,
 int page);
 

Arguments

struct mtd_info * mtd

mtd info structure

struct nand_chip * chip

nand chip info structure

uint32_t data_offs

offset of requested data within the page

uint32_t readlen

data length

uint8_t * bufpoi

buffer to store read data

int page

page number to read