nand_read

Langue: en

Autres versions - même langue

Version: June 2009 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)

NAME

nand_read - [MTD Interface] MTD compability function for nand_do_read_ecc

SYNOPSIS

int nand_read(struct mtd_info * mtd, loff_t from, size_t len, size_t * retlen, uint8_t * buf);

ARGUMENTS

mtd

MTD device structure

from

offset to read from

len

number of bytes to read

retlen

pointer to variable to store the number of read bytes

buf

the databuffer to put data

DESCRIPTION

Get hold of the chip and call nand_do_read

AUTHOR

Thomas Gleixner <tglx@linutronix.de>

Author.