All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] m25p80 timeout too short for worst-case m25p16 devices
@ 2009-06-26 16:42 Steven A. Falco
  0 siblings, 0 replies; only message in thread
From: Steven A. Falco @ 2009-06-26 16:42 UTC (permalink / raw)
  To: linux-mtd; +Cc: dwmw2

The m25p16 data sheet from numonyx lists the worst-case bulk erase time
(tBE) as 40 seconds.

Signed-off-by: Steven A. Falco <sfalco@harris.com>
---
diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index cc6369e..e106700 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -54,7 +54,7 @@
 #define	SR_SRWD			0x80	/* SR write protect */
 
 /* Define max times to check status register before we give up. */
-#define	MAX_READY_WAIT_JIFFIES	(10 * HZ)	/* eg. M25P128 specs 6s max sector erase */
+#define	MAX_READY_WAIT_JIFFIES	(40 * HZ)	/* M25P16 specs 40s max chip erase */
 #define	CMD_SIZE		4
 
 #ifdef CONFIG_M25PXX_USE_FAST_READ

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-26 16:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-26 16:42 [PATCH] m25p80 timeout too short for worst-case m25p16 devices Steven A. Falco

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.