__nand_correct_data9
[nand interface] detect and correct bit error(s)
Usage
int __nand_correct_data(unsigned char * buf, unsigned char * read_ecc, unsigned char * calc_ecc, unsigned int eccsize);
Arguments
buf
raw data read from the chip
read_ecc
ECC from the chip
calc_ecc
the ECC calculated from raw data
eccsize
data bytes per ECC step (256 or 512)
Overview
Detect and correct a 1 bit error for eccsize byte block
Releases
4 releases since Debian 6.0 (Squeeze); the text changed 3 times.