linux/drivers/mtd/chips
Anders Grafström e93cafe45f [MTD] [NOR] cfi_cmdset_0001: Timeouts for erase, write and unlock operations
Timeouts are currently given by the typical operation time times 8.
It works in the general well-behaved case but not when an erase block is
failing. For erase operations, it seems that a failing erase block will
keep the device state machine in erasing state until the vendor
specified maximum timeout period has passed. By this time the driver
would have long since timed out, left erasing state and attempted
further operations which all fail. This patch implements timeouts using
values from the CFI Query structure when available.
The patch also sets a longer timeout for locking operations. The current
value used for locking/unlocking given by 1000000/HZ microseconds is too
short for devices like J3 and J5 Strataflash which have a typical clear
lock-bits time of 0.5 seconds.

Signed-off-by: Anders Grafström <grfstrm@users.sourceforge.net>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2008-08-06 09:44:54 +01:00
..
cfi_cmdset_0001.c [MTD] [NOR] cfi_cmdset_0001: Timeouts for erase, write and unlock operations 2008-08-06 09:44:54 +01:00
cfi_cmdset_0002.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
cfi_cmdset_0020.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
cfi_probe.c [MTD] [NOR] Add qry_mode_on()/qry_omde_off() to deal with odd chips 2008-08-06 09:43:58 +01:00
cfi_util.c [MTD] [NOR] Add qry_mode_on()/qry_omde_off() to deal with odd chips 2008-08-06 09:43:58 +01:00
chipreg.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
fwh_lock.h
gen_probe.c [MTD] Use DIV_ROUND_UP 2008-08-02 18:45:18 +01:00
jedec_probe.c [MTD] [NOR] drivers/mtd/chips/jedec_probe.c: fix Am29DL800BB device ID 2008-07-31 08:34:46 +01:00
Kconfig [MTD] [NOR] Add "Spansion" to MTD_CFI_AMDSTD kconfig menu description 2008-08-06 09:41:35 +01:00
Makefile
map_absent.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
map_ram.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
map_rom.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00