ECC Recovery in JFFS2 and YAFFS

Anand Patil anandpatil at ti.com
Thu Jan 11 07:54:03 EST 2007


Hi,
        I want to know how a ECC failiure is handled by JFFS2 and YAFFS?


        What i understand from the below code ment to check ECC error is
        a Device reset is issued on the NAND device.

In Nand_base.c
In Function nand_verify_pages()
------------------------------------------------------------------------------------------------
 /*
  * Terminate the read command. We come here in case of an error
  * So we must issue a reset command.
  */
out:
 this->cmdfunc (mtd, NAND_CMD_RESET, -1, -1);
 return res;

------------------------------------------------------------------------------------------------


Warm Regards,
Anand Patil
Wipro TI ODC
Ph :- 080-28520408
Ext 4386 





More information about the linux-mtd mailing list