bug, nand, am33xx: nand->ecc.strength not set in board_nand_init()
authorSergey Lapin <slapin@ossfans.org>
Tue, 4 Jun 2013 16:42:43 +0000 (11:42 -0500)
committerScott Wood <scottwood@freescale.com>
Tue, 4 Jun 2013 16:50:04 +0000 (11:50 -0500)
commit4bfd0002b653dfc9f9ddd8e9a4ce0acd40bde3ac
tree1a615431ee8ac52d8b3410e96cc956d0e5ae0c48
parentd6639d10dbfa42dc888f8917012550b632a88959
bug, nand, am33xx: nand->ecc.strength not set in board_nand_init()

commit dfe64e2c89731a3f9950d7acd8681b68df2bae03
Author: Sergey Lapin <slapin@ossfans.org>
Date:   Mon Jan 14 03:46:50 2013 +0000

    mtd: resync with Linux-3.7.1

Introduced runtime bug:

U-Boot 2013.04-00499-g46567df-dirty (Jun 04 2013 - 08:17:08)

I2C:   ready
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  BUG: failure at nand_base.c:3214/nand_scan_tail()!
BUG!
resetting ...

on boards using drivers/mtd/nand/omap_gpmc.c as in board_nand_init()
nand->ecc.strength is not set. Fix this!

Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Sergey Lapin <slapin@ossfans.org>
Cc: Scott Wood <scottwood@freescale.com>
Cc: Tom Rini <trini@ti.com>
drivers/mtd/nand/omap_gpmc.c