Have a great day,
Yes there are MPC83xx eLBC which do not have LTECCR register. According to MPC8314 documentation there is not LTECCR. The Freescale Enhanced Local Bus Controller NAND driver (fsl_elbc_nand.c) says that "if the ELBC doesn't have the lteccr register it reads 0".So it read it always
if (lteccr & 0x000F0000) { mtd->ecc_stats.corrected++;
elbc_fcm_ctrl->max_bitflips = 1;
but without LTECCR ecc_stats.corrected will be not incremented. I do not see another method with hardware support in this case. Of course there is bulky method when we read the same page two times first when ECC correction is enabled and second when it is disabled and then compare.
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------