ECC calculation bug in nand_write_page()
samoutin at hotbox.ru
Fri Feb 14 12:59:20 EST 2003
I found that ECC calculation is worng when we do partial write to sector.
When starting byte !=0 and eccmode == NAND_ECC_SOFT this function made
/* Read back previous written data, if col > 0 */
for correct ECC calculation. It is ok. Hovewer if col==0 but last !=0 it
would do the same (read back previos written data) for the
tail of block. But it didn't.
More information about the linux-mtd