mtd: flash drivers set ecc strength
[deliverable/linux.git] / drivers / mtd / nand / pxa3xx_nand.c
index d3bdc909c9390dd7da8bab6cc7e6804b21de49e2..def50caa6f84b259fd5ed23e702efcd5977317cb 100644 (file)
@@ -1002,6 +1002,7 @@ static int pxa3xx_nand_scan(struct mtd_info *mtd)
 KEEP_CONFIG:
        chip->ecc.mode = NAND_ECC_HW;
        chip->ecc.size = host->page_size;
+       chip->ecc.strength = 1;
 
        chip->options = NAND_NO_AUTOINCR;
        chip->options |= NAND_NO_READRDY;
This page took 0.023988 seconds and 5 git commands to generate.