linux/drivers/mtd/chips
Christopher Moore 87e92c062b [MTD] cfi_cmdset_0002.c: Add Macronix CFI V1.0 TopBottom detection
This patch adds TopBottom detection for most Macronix chips with CFI V1.0.

The main purpose of this patch is to add detection of the MX29LV400C B
used on the LaCie Ethernet Disk mini V2 NAS.

It detects the following parts correctly:-
MX28F640C3B T
MX29LV002C  B
MX29LV002NC B
MX29LV004C  T
MX29LV400C  T/B
MX29LV800C  T/B
MX29LV160C  T/B
MX29SL800C  T/B
MX29SL802C  T/B

It detects the following uniform part as bottom but it should work
correctly:-
MX29LV040C

For T parts it causes the erase block table to be reversed correctly.
For other parts it avoids the bogus "Assuming top" message.

It does not detect the following correctly:-
MX28F640C3B B
MX29LV002C  T
MX29LV002NC T
MX29LV004C  B
MX29SL400C  T/B
MX29SL402C  T/B

If desired I could supply a more complicated patch to handle these as
well.

Only the MX29LV400C B has been physically tested; others were checked
against their data sheets.

Signed-off-by: Christopher Moore <moore@free.fr>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2008-10-18 12:41:51 +01:00
..
cfi_cmdset_0001.c [MTD] [NOR] fix cfi_cmdset_0001 FL_SYNCING race (take 2) 2008-09-26 18:56:18 -06:00
cfi_cmdset_0002.c [MTD] cfi_cmdset_0002.c: Add Macronix CFI V1.0 TopBottom detection 2008-10-18 12:41:51 +01:00
cfi_cmdset_0020.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
cfi_probe.c [MTD] [NOR] Rename and export new cfi_qry_*() functions 2008-08-07 11:55:07 +01:00
cfi_util.c [MTD] [NOR] Rename and export new cfi_qry_*() functions 2008-08-07 11:55:07 +01:00
chipreg.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
fwh_lock.h [MTD] Fix fwh_lock locking 2007-04-17 14:11:20 -04:00
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] Select MTD_CFI_UTIL when MTD_CFI probe routine is enabled 2008-09-01 12:23:22 +01:00
Makefile [MTD] [CHIPS] Remove MTD_OBSOLETE_CHIPS (jedec, amd_flash, sharp) 2007-05-09 13:34:37 +01:00
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