Scroll to navigation

NAND_WRITE_PAGE_RAW_(9) Internal Functions Provided NAND_WRITE_PAGE_RAW_(9)

NAME

nand_write_page_raw_syndrome - [INTERN] raw page write function

SYNOPSIS

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

ARGUMENTS

struct mtd_info * mtd

mtd info structure

struct nand_chip * chip

nand chip info structure

const uint8_t * buf

data buffer

int oob_required

must write chip->oob_poi to OOB

int page

page number to write

DESCRIPTION

We need a special oob layout and handling even when ECC isn't checked.

AUTHOR

Thomas Gleixner <tglx@linutronix.de>

Author.

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11