tmp_suning_uos_patched/drivers/mtd/nand
David Brownell 23a346ca4a [MTD] [NAND] atmel_nand speedup via {read,write}s{b,w}()
This uses __raw_{read,write}s{b,w}() primitives to access data on NAND
chips for more efficient I/O.

On an arm926 with memory clocked at 100 MHz, this reduced the elapsed time
for a 64 MiB read by 16%.  ("dd" /dev/mtd0 to /dev/null, with an 8-bit
NAND using hardware ECC and 128KiB blocksize.)

Also some minor section tweaks:

  - Use platform_driver_probe() so no pointer to probe() lingers
    after that code has been removed at run-time.

  - Use __exit and __exit_p so the remove() code will normally be
    removed by the linker.

Since these buffer read/write calls are new, this increases the runtime
code footprint (by 88 bytes on my build, after the section tweaks).

[haavard.skinnemoen@atmel.com: rebase onto atmel_nand rename]
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Håvard Skinnemoen <haavard.skinnemoen@atmel.com>
Acked-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2008-07-11 14:51:21 +01:00
..
alauda.c [MTD] [NAND] Fix compiler warning in Alauda driver 2007-10-13 14:33:27 +01:00
ams-delta.c
atmel_nand_ecc.h [MTD] [NAND] rename at91_nand -> atmel_nand: internal symbols 2008-06-07 08:43:00 +01:00
atmel_nand.c [MTD] [NAND] atmel_nand speedup via {read,write}s{b,w}() 2008-07-11 14:51:21 +01:00
au1550nd.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
autcpu12.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
bf5xx_nand.c [MTD] [NAND] bf5xx_nand: Avoid crash if bfin_mac is installed. 2008-04-25 09:10:55 +01:00
cafe_nand.c [MTD] [NAND] fix 2 "unused variable" warnings in cafe_nand.c 2008-06-04 17:27:20 +01:00
cmx270_nand.c
cs553x_nand.c [MTD] [NAND] mtd/nand/cs553x_nand.c:part_probes[] static 2008-04-22 12:35:40 +01:00
diskonchip.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
edb7312.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
excite_nandflash.c [MTD] [NAND] excite_nandflash: simplify code using ARRAY_SIZE() macro. 2008-06-04 17:28:03 +01:00
fsl_elbc_nand.c [MTD] [NAND] fsl_elbc_nand: fix section mismatch between probe and remove 2008-06-07 08:36:19 +01:00
fsl_upm.c [MTD] [NAND] FSL UPM NAND driver 2008-04-22 20:46:30 +01:00
h1910.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
Kconfig [MTD] [NAND] atmel_nand: make available on AVR32 2008-06-07 08:45:45 +01:00
Makefile [MTD] [NAND] rename at91_nand -> atmel_nand: file names and Kconfig 2008-06-07 08:42:51 +01:00
nand_base.c [MTD] [NAND] Verify probe by retrying to checking the results match 2008-04-22 21:43:06 +01:00
nand_bbt.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
nand_ecc.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
nand_ids.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
nandsim.c [MTD] [NAND] nandsim: missing header for do_div 2008-06-05 19:45:19 +01:00
ndfc.c [MTD] [NAND] fix platform driver hotplug/coldplug 2008-04-22 14:17:47 +01:00
orion_nand.c [MTD] [NAND] fix platform driver hotplug/coldplug 2008-04-22 14:17:47 +01:00
pasemi_nand.c [MTD] [NAND] pasemi_nand driver 2007-11-29 00:47:13 +00:00
plat_nand.c [MTD] [NAND] plat_nand: set mtd->name 2008-04-22 21:11:54 +01:00
ppchameleonevb.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
pxa3xx_nand.c [MTD] [NAND] pxa: fix incorrect calling of pxa3xx_nand_config() on resume path 2008-06-04 17:37:25 +01:00
rtc_from4.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
s3c2410.c [MTD] [NAND] S3C2410: Remove changelog and tidy header 2008-06-04 18:02:56 +01:00
sharpsl.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
spia.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
toto.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
ts7250.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00