linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RFC] nand/davinci: Fix comment to match the code
@ 2010-08-25 12:18 Wolfram Sang
  2010-08-25 12:27 ` Sudhakar Rajashekhara
  2010-09-01 23:14 ` Artem Bityutskiy
  0 siblings, 2 replies; 12+ messages in thread
From: Wolfram Sang @ 2010-08-25 12:18 UTC (permalink / raw)
  To: linux-mtd
  Cc: Artem Bityutskiy, davinci-linux-open-source,
	Sudhakar Rajashekhara, Sneha Narnakaje, Wolfram Sang

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
Cc: Sneha Narnakaje <nsnehaprabha@ti.com>
Cc: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
---

Found while debugging a NAND issue with a dm365.

 drivers/mtd/nand/davinci_nand.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c
index 2ac7367..53f864a 100644
--- a/drivers/mtd/nand/davinci_nand.c
+++ b/drivers/mtd/nand/davinci_nand.c
@@ -369,8 +369,9 @@ compare:
 	 * after setting the 4BITECC_ADD_CALC_START bit. So if you immediately
 	 * begin trying to poll for the state, you may fall right out of your
 	 * loop without any of the correction calculations having taken place.
-	 * The recommendation from the hardware team is to wait till ECC_STATE
-	 * reads less than 4, which means ECC HW has entered correction state.
+	 * The recommendation from the hardware team is to initially delay as
+	 * long as ECC_STATE reads less than 4. After that, ECC HW has entered
+	 * correction state.
 	 */
 	do {
 		ecc_state = (davinci_nand_readl(info,
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-09-07  8:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-25 12:18 [RFC] nand/davinci: Fix comment to match the code Wolfram Sang
2010-08-25 12:27 ` Sudhakar Rajashekhara
2010-08-25 12:55   ` Artem Bityutskiy
2010-08-25 13:30     ` Wolfram Sang
2010-08-26  3:59     ` Sudhakar Rajashekhara
2010-08-26  6:23       ` Wolfram Sang
2010-09-01  8:05       ` Wolfram Sang
2010-09-01 23:14 ` Artem Bityutskiy
2010-09-03 10:35   ` [PATCH] nand/davinci: relax a timeout for ECC-initialization Wolfram Sang
2010-09-03 11:12     ` Sudhakar Rajashekhara
2010-09-03 12:15       ` Wolfram Sang
2010-09-07  8:00     ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).