int nand_correct_data (struct mtd_info * mtd, u_char * dat, u_char * read_ecc, u_char * calc_ecc);
int nand_correct_data
MTD block structure
raw data read from the chip
ECC from the chip
the ECC calculated from raw data
Detect and correct a 1 bit error for 256 byte block