mtd: flash drivers set ecc strength
[deliverable/linux.git] / drivers / mtd / nand / rtc_from4.c
index f309addc2fa0505137f83a7a389bcb74b4fff9e6..e55b5cfbe1457d1300524602ec00c11aecb78e3b 100644 (file)
@@ -527,6 +527,7 @@ static int __init rtc_from4_init(void)
        this->ecc.mode = NAND_ECC_HW_SYNDROME;
        this->ecc.size = 512;
        this->ecc.bytes = 8;
+       this->ecc.strength = 3;
        /* return the status of extra status and ECC checks */
        this->errstat = rtc_from4_errstat;
        /* set the nand_oobinfo to support FPGA H/W error detection */
This page took 0.023426 seconds and 5 git commands to generate.