nand_calculate_ecc

Langue: en

Version: October 2010 (fedora - 01/12/10)

Section: 9 (Appels noyau Linux)

NAME

nand_calculate_ecc - [NAND Interface] Calculate 3-byte ECC for 256/512-byte block

SYNOPSIS

int nand_calculate_ecc(struct mtd_info * mtd, const unsigned char * buf, unsigned char * code);

ARGUMENTS

mtd

MTD block structure

buf

input buffer with raw data

code

output buffer with ECC

AUTHOR

Thomas Gleixner <tglx@linutronix.de>

Author.