[PATCH 0/2] MTD: OneNAND: multiblock erase support

Mika Korhonen ext-mika.2.korhonen at nokia.com
Thu Sep 3 06:54:31 EDT 2009


(Sorry about CCing this twice - I made a typo in the mailing list address.
 Please reply to this.)

This patch series is an updated version of
http://lists.infradead.org/pipermail/linux-mtd/2009-June/026130.html

I split the previous patch in two for readability: the first part extracts
the execution of erase command to a separate function for easier integration
of different erase method. The second part implements the multiblock erase
function in case multiple blocks are requested to be erased and the chip is
not Flex.

This is useful for flashing applications that need to do their work as
fast as possible. For full 64 eraseblock case the erase speed is up to 30x
faster. (Samsung: 64 MB/s vs 2.1 GB/s, I got 1.4 GB/s on Linux kernel)


Mika Korhonen (2):
  MTD: OneNAND: move erase method to a separate function
  MTD: OneNAND: multiblock erase support

 drivers/mtd/onenand/omap2.c        |   22 +++-
 drivers/mtd/onenand/onenand_base.c |  274 +++++++++++++++++++++++++++++-------
 include/linux/mtd/onenand.h        |    2 +
 include/linux/mtd/onenand_regs.h   |    2 +
 4 files changed, 246 insertions(+), 54 deletions(-)




More information about the linux-mtd mailing list