__nand_calculate_ecc9
[nand interface] calculate 3-byte ecc for 256/512-byte block
Usage
void __nand_calculate_ecc(const unsigned char * buf, unsigned int eccsize, unsigned char * code);
Arguments
buf
input buffer with raw data
eccsize
data bytes per ECC step (256 or 512)
code
output buffer with ECC
Releases
3 releases since Debian 7 (Wheezy); the text changed 2 times.