linux-stable/include/linux/mtd
Alexey Korolev 2e489e077a [MTD] [NOR] Add qry_mode_on()/qry_omde_off() to deal with odd chips
There are some CFI chips which require non standard procedures to get 
into QRY mode. The possible way to support them would be trying 
different modes till QRY will be read. This patch introduce two new 
functions qry_mode_on qry_mode_off. qry_mode_on tries different commands 
in order switch chip into QRY mode.

So if we have one more "odd" chip - we just could add several lines to 
qry_mode_on. Also using these functions remove unnecessary code 
duplicaton in porbe procedure.

Currently there are two "odd" cases
1. Some old intel chips which require 0xFF before 0x98
2. ST M29DW chip which requires 0x98 to be sent at 0x555 (according to
CFI should be 0x55)

This patch is partialy based on the patch from Uwe
(see "[PATCH 2/4] [RFC][MTD] cfi_probe: remove Intel chip workaround"
thread )

Signed-off-by: Alexey Korolev <akorolev@infradead.org>
Signed-off-by: Alexander Belyakov <abelyako@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2008-08-06 09:43:58 +01:00
..
bbm.h
blktrans.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
cfi.h [MTD] [NOR] Add qry_mode_on()/qry_omde_off() to deal with odd chips 2008-08-06 09:43:58 +01:00
cfi_endian.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
compatmac.h
concat.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
doc2000.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
flashchip.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
ftl.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
gen_probe.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
inftl.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
map.h Merge branch 'linux-next' of git://git.infradead.org/~dedekind/ubi-2.6 2008-07-25 10:40:14 -04:00
mtd.h [MTD] MTD_DEBUG always does compile-time typechecks 2008-07-30 14:21:05 +01:00
mtdram.h [MTD] Provide mtdram.h with mtdram_init_device() prototype 2007-11-06 08:40:24 +00:00
nand.h [MTD] [NAND] fix subpage read for small page NAND 2008-07-30 11:59:24 +01:00
nand_ecc.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
ndfc.h
nftl.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
onenand.h [MTD] [OneNAND] proper onenand_bbt_read_oob() prototype 2008-04-22 15:59:13 +01:00
onenand_regs.h [MTD] [OneNAND] Add defines for HF and sync write 2008-08-01 22:06:15 +01:00
partitions.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
physmap.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
plat-ram.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
pmc551.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
super.h [MTD] generalise the handling of MTD-specific superblocks 2007-05-11 12:14:15 +01:00
ubi.h UBI: amend commentaries 2008-07-24 13:32:56 +03:00
xip.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00