mtd: Add mtdswap block driver
authorJarkko Lavinen <jarkko.lavinen@nokia.com>
Mon, 14 Feb 2011 14:16:11 +0000 (16:16 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 11 Mar 2011 14:22:46 +0000 (14:22 +0000)
commita321590246202f2598aca2f4ef63b992e8fc97ef
treecbb838704f7575bf5634c95fd1d91bef24e9d296
parent115ee88c15b55859a8b59c5dccb3882bbd47e542
mtd: Add mtdswap block driver

Add a driver for allowing an mtd device to be used as a block device for
swapping. The block device is volatile, and the mapping of swapped pages
is not stored on flash.

Signed-off-by: Jarkko Lavinen <jarkko.lavinen@nokia.com>
Tested-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/Kconfig
drivers/mtd/Makefile
drivers/mtd/mtdswap.c [new file with mode: 0644]