]> err.no Git - linux-2.6/commit
[MTD] nandsim: enhance nandsim to allow arbitrary NAND size
authorAdrian Hunter <ext-adrian.hunter@nokia.com>
Mon, 19 Mar 2007 10:49:11 +0000 (12:49 +0200)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 17 Apr 2007 17:55:55 +0000 (13:55 -0400)
commita5ac8aeb29000fcab8d91848273a6616fcd039ee
tree491f9159b7b6222a217197fdc4a6e31604eb10f4
parent57aa6b545f6f772dd317ccd29bdada999b16a13d
[MTD] nandsim: enhance nandsim to allow arbitrary NAND size

A new module parameter has been added called 'overridesize',
which overrides the size that would be determined by the
ID bytes. 'overridesize' is specified in erase blocks and
as the exponent of a power of two e.g. 5 means a size of
32 erase blocks.

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