nand_read_raw

Name

nand_read_raw --  [GENERIC] Read raw data including oob into buffer

Synopsis

int nand_read_raw (struct mtd_info * mtd, uint8_t * buf, loff_t from, size_t len, size_t ooblen);

Arguments

mtd

MTD device structure

buf

temporary buffer

from

offset to read from

len

number of bytes to read

ooblen

number of oob data bytes to read

Description

Read raw data including oob into buffer