]> git.baikalelectronics.ru Git - kernel.git/commit
MTD: nandsim: add option to use a file to cache pages
authorAdrian Hunter <ext-adrian.hunter@nokia.com>
Wed, 12 Nov 2008 14:06:07 +0000 (16:06 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 10 Dec 2008 13:35:21 +0000 (13:35 +0000)
commita912f4ad4dab0dec7f57f6055bf372109d415c9c
treec695dd7928354028733f9621ba67a592d2b1c5ed
parent92e3b88bd843e517685b0b9e87bc395566e0c86b
MTD: nandsim: add option to use a file to cache pages

Add a new module parameter 'cache_file' which causes nandsim
to use that file instead of memory to cache nand data.
Using a file allows the simulation of NAND that is bigger
than the available memory.

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nandsim.c