nand/davinci: make sure ECC calculation has really started
authorWolfram Sang <w.sang@pengutronix.de>
Thu, 9 Sep 2010 11:54:41 +0000 (13:54 +0200)
committerScott Wood <scottwood@freescale.com>
Mon, 13 Sep 2010 19:43:05 +0000 (14:43 -0500)
commit1075b07e2c67c1f504d9f3a6f1b9aaa8f81393b2
treedaa80f7b0e2bb3c73c5d69fb5c028462d357675e
parent150f723665674100876c53e0492cd6d2191fe865
nand/davinci: make sure ECC calculation has really started

Due to a register glitch (result code <4 might show up right after the
start-calculation-bit was set), make sure the ECC has really started.

See 1c3275b656045aff9a75bb2c9f3251af1043ebb3 in the kernel.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
drivers/mtd/nand/davinci_nand.c