android_kernel_motorola_sm6225/drivers/mtd/nand
Scott Wood 476459a6cf mtd: eLBC NAND: use recommended command sequences
Currently, the program and erase sequences do not wait for completion,
instead relying on a subsequent waitfunc() callback.  However, this causes
the chipselect to be deasserted while the NAND chip is still asserting the
busy pin, which can corrupt activity on other chipselects.

This patch switches to using the sequences recommended by the manual,
in which a wait is performed within the initial command sequence.  We can
now re-use the status byte from the initial command sequence, rather than
having to do another status read in the waitfunc.

Since we're already touching the command sequences, it also cleans up some
cruft in SEQIN that isn't needed since we cannot program partial pages
outside of OOB.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Reported-by: Suchit Lepcha <suchit.lepcha@freescale.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2009-11-30 09:53:49 +00:00
..
alauda.c mtd: alauda: Use hweight8 2009-11-30 09:53:19 +00:00
ams-delta.c OMAP: Rename OMAP_MPUIO_BASE to OMAP1_MPUIO_BASE 2009-08-28 10:50:34 -07:00
atmel_nand.c mtd: error return -EIO instead of EIO 2009-11-30 09:51:44 +00:00
atmel_nand_ecc.h [ARM] 5265/3: [AT91] Add copyright info 2008-09-21 23:01:18 +01:00
au1550nd.c [MTD] [NAND] au1550nd.c: remove unused #include <version.h> 2008-08-25 12:20:53 +01:00
autcpu12.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
bcm_umi_bch.c mtd: add bcmring nand driver 2009-10-20 10:07:23 +09:00
bcm_umi_nand.c mtd: add bcmring nand driver 2009-10-20 10:07:23 +09:00
bf5xx_nand.c mtd: blackfin NFC: fix hang when using NAND on BF527-EZKITs 2009-06-05 18:27:43 +01:00
cafe_nand.c Merge git://git.infradead.org/mtd-2.6 2009-09-23 10:07:49 -07:00
cmx270_nand.c trivial: mtd: add __init/__exit macros to init/exitfunctions 2009-09-21 15:14:53 +02:00
cs553x_nand.c [MTD] [NAND] Fix compilation warnings in drivers/mtd/nand/cs553x_nand.c 2008-10-18 12:39:17 +01:00
davinci_nand.c mtd: nand: davinci: fix to use mask_ale from pdata 2009-10-05 07:50:45 +01:00
diskonchip.c trivial: MTD: remove EOL from MODULE_DESCRIPTION 2009-03-30 15:22:02 +02:00
edb7312.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
excite_nandflash.c platform driver: fix incorrect use of 'platform_bus_type' with 'struct device_driver' 2009-03-24 16:38:25 -07:00
fsl_elbc_nand.c mtd: eLBC NAND: use recommended command sequences 2009-11-30 09:53:49 +00:00
fsl_upm.c mtd: ensure index is positive 2009-11-30 09:50:46 +00:00
gpio.c [MTD] [NAND] GPIO NAND flash driver 2008-10-18 12:48:42 +01:00
h1910.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
Kconfig mtd: add bcmring nand driver 2009-10-20 10:07:23 +09:00
Makefile mtd: add bcmring nand driver 2009-10-20 10:07:23 +09:00
mxc_nand.c Revert "mtd: mxc_nand: fix 2KiB pagesize NAND on i.MX27" 2009-10-20 22:02:41 +09:00
nand_base.c mtd: nand: add option to quieten off the no device found messgae 2009-11-30 09:48:31 +00:00
nand_bbt.c [MTD] update internal API to support 64-bit device size 2008-12-10 13:37:21 +00:00
nand_bcm_umi.c mtd: add bcmring nand driver 2009-10-20 10:07:23 +09:00
nand_bcm_umi.h mtd: add bcmring nand driver 2009-10-20 10:07:23 +09:00
nand_ecc.c mtd: Add __nand_calculate_ecc() to NAND ECC functions 2009-11-30 09:32:19 +00:00
nand_ids.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
nandsim.c [MTD] [NAND] fix nandsim sched.h references 2009-01-05 12:59:32 +01:00
ndfc.c mtd: nand: fix ECC Correction bug for SMC ordering for NDFC driver 2009-09-19 14:15:00 -07:00
nomadik_nand.c mtd: nand: driver for Nomadik 8815 SoC (on NHK8815 board) 2009-09-20 05:59:42 -07:00
omap2.c mtd: omap: adding DMA mode support in nand prefetch/post-write 2009-09-19 13:21:05 -07:00
orion_nand.c mtd: nand: register orion_nand using platform_driver_probe() 2009-09-19 11:06:30 -07:00
pasemi_nand.c powerpc: More printing warning fixes for the l64 to ll64 conversion 2009-01-28 17:15:52 +11:00
plat_nand.c mtd: plat_nand: request memory resource before doing ioremap 2009-10-20 09:09:59 +09:00
ppchameleonevb.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
pxa3xx_nand.c mtd: pxa3xx_nand: add single-bit error corrections reporting 2009-09-19 13:13:08 -07:00
rtc_from4.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
s3c2410.c mtd: s3c2410: propagate nand options from the platform data 2009-11-30 09:49:28 +00:00
sh_flctl.c mtd: sh_flctl: register sh_flctl using platform_driver_probe() 2009-09-19 16:07:34 -07:00
sharpsl.c [MTD] sharpsl-nand: move registration to board code 2008-10-29 21:08:37 +03:00
socrates_nand.c [MTD] [NAND] Add support for NAND on the Socrates board 2009-04-06 07:15:27 -07:00
spia.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
tmio_nand.c mtd: nand: fix tmio_nand ecc correction 2009-09-19 14:20:33 -07:00
ts7250.c mtd: ep93xx: cleanup includes in ts7250 nand driver 2009-09-04 09:35:12 +01:00
txx9ndfmc.c mtd: txx9ndfmc: Use nand_release to free resources 2009-11-30 09:47:42 +00:00
w90p910_nand.c mtd: add nand support for w90p910 (v2) 2009-09-19 13:17:05 -07:00