Scroll to navigation

NAND_READ_PAGE_HWECC(9) Internal Functions Provided NAND_READ_PAGE_HWECC(9)

NAME

nand_read_page_hwecc - [REPLACEABLE] hardware ECC based page read function

SYNOPSIS

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

ARGUMENTS

struct mtd_info * mtd

mtd info structure

struct nand_chip * chip

nand chip info structure

uint8_t * buf

buffer to store read data

int oob_required

caller requires OOB data read to chip->oob_poi

int page

page number to read

DESCRIPTION

Not for syndrome calculating ECC controllers which need a special oob layout.

AUTHOR

Thomas Gleixner <tglx@linutronix.de>

Author.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.12