summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/nomadik.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/nand/nomadik.c')
-rw-r--r--drivers/mtd/nand/nomadik.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/nomadik.c b/drivers/mtd/nand/nomadik.c
index b76f4cb..dc8e513 100644
--- a/drivers/mtd/nand/nomadik.c
+++ b/drivers/mtd/nand/nomadik.c
@@ -212,6 +212,7 @@ int board_nand_init(struct nand_chip *chip)
chip->ecc.mode = NAND_ECC_HW;
chip->ecc.bytes = 3;
chip->ecc.size = 512;
+ chip->ecc.strength = 1;
chip->ecc.layout = &nomadik_ecc_layout;
chip->ecc.calculate = nomadik_ecc_calculate;
chip->ecc.hwctl = nomadik_ecc_hwctl;