Skip to content

Commit

Permalink
mtd: m25p80 timeout too short for worst-case m25p16 devices
Browse files Browse the repository at this point in the history
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>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
Steven A. Falco authored and David Woodhouse committed Jun 26, 2009
1 parent ae27a7a commit 89bb871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/devices/m25p80.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 89bb871

Please sign in to comment.