]> err.no Git - linux-2.6/commit
[MTD] NAND: nandsim page-wise allocation (2/2)
authorVijay Kumar <vijaykumar@bravegnu.org>
Sun, 8 Oct 2006 16:32:31 +0000 (22:02 +0530)
committerDavid Woodhouse <dwmw2@infradead.org>
Sat, 21 Oct 2006 15:40:27 +0000 (16:40 +0100)
commitd086d43640a40dda7783f3c56724048685586d17
tree32ad427c5f8376d490d570fc03242cbde4904b6b
parent47e37743381823a5c2d51ef88cfc3d6cff1f8580
[MTD] NAND: nandsim page-wise allocation (2/2)

For page wise allocation, an array of flash page pointers is allocated
during initialization. The flash pages are themselves allocated when a
write occurs to the page. The flash pages are deallocated when they
are erased.

Signed-off-by: Vijay Kumar <vijaykumar@bravegnu.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/nandsim.c