]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[MTD] make dataflash write-verify be optional
authorDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 7 Aug 2008 04:55:14 +0000 (21:55 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 7 Aug 2008 10:49:00 +0000 (11:49 +0100)
commit8c64038e4c077b2b37c6b27d0c40c77a3ddfaeef
treef7fbc1067724edd54de7b300b20028bd6203dc37
parentcf93ae02600e2c752bf2570085e7970a1c0f2b94
[MTD] make dataflash write-verify be optional

This adds a WRITE_VERIFY Kconfig option to the DataFlash driver,
closely mirroring the similar NAND and ONENAND options, giving
an option to disable some code that's currently always enabled.

Removing this step probably saves a millisecond or so per page
when writing data, which will add up quickly since these pages
are small (the largest is 1 KiB).  It doesn't seem to add a
lot in terms of reliability, and wouldn't detect errors which
crop up when transferring data to the on-chip SRAM buffer.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Acked-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/devices/Kconfig
drivers/mtd/devices/mtd_dataflash.c