nand_calculate_ecc9
[nand interface] calculate 3-byte ecc for 256/512-byte block
Usage
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
Releases
6 releases since Debian 4.0 (Etch); the text changed 5 times.