[MTD] [NAND] atmel_nand: Work around AT32AP7000 ECC erratum
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Fri, 4 Jul 2008 06:40:18 +0000 (23:40 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 11 Jul 2008 13:52:02 +0000 (14:52 +0100)
commitd6248fddf717041f25781050e6392cc76525272d
tree249f5a7e7021d782966119bc57dbf55acc1594e7
parent23a346ca4a5a6f50f81062456af955155f68e313
[MTD] [NAND] atmel_nand: Work around AT32AP7000 ECC erratum

The ALE signal isn't correctly wired up to the ECC controller on the
AP7000, so it starts calculating ECC during the address cycles.

Work around this by resetting the ECC controller between the address and
data cycles.

Signed-off-by: HÃ¥vard Skinnemoen <haavard.skinnemoen@atmel.com>
Acked-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/atmel_nand.c