nand_read — [MTD Interface] MTD compability function for nand_do_read_ecc
int nand_read
(struct mtd_info * mtd, loff_t from, size_t len, size_t * retlen, uint8_t * buf);
MTD device structure
offset to read from
number of bytes to read
pointer to variable to store the number of read bytes
the databuffer to put data
Get hold of the chip and call nand_do_read