Scroll to navigation

NAND_READ_PAGE_SWECC(9) Internal Functions Provided NAND_READ_PAGE_SWECC(9)

NAME

nand_read_page_swecc - [REPLACEABLE] software ECC based page read function

SYNOPSIS

int nand_read_page_swecc(struct mtd_info * mtd, struct nand_chip * chip, uint8_t * buf, int oob_required, int page);

ARGUMENTS

mtd

mtd info structure

chip

nand chip info structure

buf

buffer to store read data

oob_required

caller requires OOB data read to chip->oob_poi

page

page number to read

AUTHOR

Thomas Gleixner <tglx@linutronix.de>

Author.

COPYRIGHT

March 2017 Kernel Hackers Manual 4.10