diff options
author | Tom Rini <trini@ti.com> | 2013-06-07 08:34:34 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-06-07 08:34:34 -0400 |
commit | 38d240dcf87923d49607ce2f243a0ac1c62612ca (patch) | |
tree | 84d805197d0caba8143bd7275b17b8565ba8c68d /drivers | |
parent | 374e837069bb5570266dcb41607dc983269702d7 (diff) | |
parent | 4bfd0002b653dfc9f9ddd8e9a4ce0acd40bde3ac (diff) | |
download | u-boot-imx-38d240dcf87923d49607ce2f243a0ac1c62612ca.zip u-boot-imx-38d240dcf87923d49607ce2f243a0ac1c62612ca.tar.gz u-boot-imx-38d240dcf87923d49607ce2f243a0ac1c62612ca.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-nand-flash
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mtd/nand/omap_gpmc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mtd/nand/omap_gpmc.c b/drivers/mtd/nand/omap_gpmc.c index d5f3248..5d08822 100644 --- a/drivers/mtd/nand/omap_gpmc.c +++ b/drivers/mtd/nand/omap_gpmc.c @@ -936,6 +936,7 @@ int board_nand_init(struct nand_chip *nand) nand->ecc.layout = &hw_bch8_nand_oob; nand->ecc.size = CONFIG_SYS_NAND_ECCSIZE; nand->ecc.bytes = CONFIG_SYS_NAND_ECCBYTES; + nand->ecc.strength = 8; nand->ecc.hwctl = omap_enable_ecc_bch; nand->ecc.correct = omap_correct_data_bch; nand->ecc.calculate = omap_calculate_ecc_bch; @@ -954,6 +955,7 @@ int board_nand_init(struct nand_chip *nand) nand->ecc.hwctl = omap_enable_hwecc; nand->ecc.correct = omap_correct_data; nand->ecc.calculate = omap_calculate_ecc; + nand->ecc.strength = 1; omap_hwecc_init(nand); #endif #endif |