mtd: flash drivers set ecc strength
[deliverable/linux.git] / drivers / mtd / nand / sharpsl.c
index 2d269a53f8bbb72385617fe8ee6704a656561ed1..3421e3762a5a1ceda275b76f56386b29929d7b44 100644 (file)
@@ -167,6 +167,7 @@ static int __devinit sharpsl_nand_probe(struct platform_device *pdev)
        this->ecc.mode = NAND_ECC_HW;
        this->ecc.size = 256;
        this->ecc.bytes = 3;
+       this->ecc.strength = 1;
        this->badblock_pattern = data->badblock_pattern;
        this->ecc.layout = data->ecc_layout;
        this->ecc.hwctl = sharpsl_nand_enable_hwecc;
This page took 0.026212 seconds and 5 git commands to generate.