mtd: flash drivers set ecc strength
[deliverable/linux.git] / drivers / mtd / nand / ndfc.c
index ec688548c880ef67d1cf568e6f568c678099232f..2b6f632cf27429ff691c7007a8a842689a8878d4 100644 (file)
@@ -179,6 +179,7 @@ static int ndfc_chip_init(struct ndfc_controller *ndfc,
        chip->ecc.mode = NAND_ECC_HW;
        chip->ecc.size = 256;
        chip->ecc.bytes = 3;
+       chip->ecc.strength = 1;
        chip->priv = ndfc;
 
        ndfc->mtd.priv = chip;
This page took 0.02773 seconds and 5 git commands to generate.