public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v6 0/3] *** SUBJECT HERE ***
@ 2009-10-23  5:50 Mika Korhonen
  2009-10-23  5:50 ` [PATCH v6 1/3] MTD: OneNAND: move erase method to a separate function Mika Korhonen
  2009-10-23  6:09 ` [PATCH v6 0/3] *** SUBJECT HERE *** Artem Bityutskiy
  0 siblings, 2 replies; 7+ messages in thread
From: Mika Korhonen @ 2009-10-23  5:50 UTC (permalink / raw)
  To: linux-mtd
  Cc: amul.saha, artem.bityutskiy, kyungmin.park, Mika Korhonen,
	adrian.hunter

(v6) Leave fail_addr to unknown if multiblock erase fails

(v5) Adjust patches to apply on current tree. Use __func__ in printk's.
     Fix mistakes found by K. Park.

(v4) This patch series is a reworked version of

http://lists.infradead.org/pipermail/linux-mtd/2009-September/027138.html
http://lists.infradead.org/pipermail/linux-mtd/2009-September/027139.html
http://lists.infradead.org/pipermail/linux-mtd/2009-September/027140.html

based on comments by Adrian Hunter and Kyungmin Park. This version should
address the issues pointed out by them.

The original patch is:
http://lists.infradead.org/pipermail/linux-mtd/2009-June/026130.html

I split the original 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 (3):
  MTD: OneNAND: move erase method to a separate function
  MTD: OneNAND: multiblock erase support
  MTD: OneNAND: fix double printing of function name

 drivers/mtd/onenand/omap2.c        |   22 +++-
 drivers/mtd/onenand/onenand_base.c |  289 +++++++++++++++++++++++++++++------
 include/linux/mtd/flashchip.h      |    4 +-
 include/linux/mtd/onenand_regs.h   |    2 +
 4 files changed, 262 insertions(+), 55 deletions(-)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-10-23  6:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-23  5:50 [PATCH v6 0/3] *** SUBJECT HERE *** Mika Korhonen
2009-10-23  5:50 ` [PATCH v6 1/3] MTD: OneNAND: move erase method to a separate function Mika Korhonen
2009-10-23  5:50   ` [PATCH v6 2/3] MTD: OneNAND: multiblock erase support Mika Korhonen
2009-10-23  5:50     ` [PATCH v6 3/3] MTD: OneNAND: fix double printing of function name Mika Korhonen
2009-10-23  6:09 ` [PATCH v6 0/3] *** SUBJECT HERE *** Artem Bityutskiy
2009-10-23  6:24   ` Mika Korhonen
2009-10-23  6:55     ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox