summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/ndfc.c
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-05-31 18:28:47 -0400
committerTom Rini <trini@ti.com>2013-05-31 18:28:47 -0400
commitd6639d10dbfa42dc888f8917012550b632a88959 (patch)
tree3c971dcfad4d7ad58570e8d5b0318f58370f9d3d /drivers/mtd/nand/ndfc.c
parent3da0e5750b24a9491058df6126c7be577a276c09 (diff)
parentdfe64e2c89731a3f9950d7acd8681b68df2bae03 (diff)
downloadu-boot-imx-d6639d10dbfa42dc888f8917012550b632a88959.zip
u-boot-imx-d6639d10dbfa42dc888f8917012550b632a88959.tar.gz
u-boot-imx-d6639d10dbfa42dc888f8917012550b632a88959.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-nand-flash
Diffstat (limited to 'drivers/mtd/nand/ndfc.c')
-rw-r--r--drivers/mtd/nand/ndfc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/ndfc.c b/drivers/mtd/nand/ndfc.c
index 213d2c9..94b9033 100644
--- a/drivers/mtd/nand/ndfc.c
+++ b/drivers/mtd/nand/ndfc.c
@@ -216,6 +216,7 @@ int board_nand_init(struct nand_chip *nand)
nand->ecc.mode = NAND_ECC_HW;
nand->ecc.size = 256;
nand->ecc.bytes = 3;
+ nand->ecc.strength = 1;
nand->select_chip = ndfc_select_chip;
#ifdef CONFIG_SYS_NAND_BUSWIDTH_16BIT