mtd: OneNAND: multiblock erase support
authorMika Korhonen <ext-mika.2.korhonen@nokia.com>
Fri, 23 Oct 2009 05:50:43 +0000 (07:50 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 30 Nov 2009 09:43:18 +0000 (09:43 +0000)
commit72073027ee95d059eb5a064da4a978efab36d4ab
treea7ee5f24092602d7fda6c34db6781c3de2d415d8
parent73885aeaca046a21183db598c2da46529e46fdab
mtd: OneNAND: multiblock erase support

Add support for multiblock erase command. OneNANDs (excluding Flex-OneNAND)
are capable of simultaneous erase of up to 64 eraseblocks which is much faster.

This changes the erase requests for regions covering multiple eraseblocks
to be performed using multiblock erase.

Signed-off-by: Mika Korhonen <ext-mika.2.korhonen@nokia.com>
Reviewed-by: Adrian Hunter <adrian.hunter@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/onenand/omap2.c
drivers/mtd/onenand/onenand_base.c
include/linux/mtd/flashchip.h
include/linux/mtd/onenand_regs.h