]> err.no Git - linux-2.6/commit
[MTD] OneNAND: Reduce internal BufferRAM operations
authorKyungmin Park <kyungmin.park@samsung.com>
Fri, 2 Feb 2007 00:29:36 +0000 (09:29 +0900)
committerKyungmin Park <kyungmin.park@samsung.com>
Fri, 2 Feb 2007 00:29:36 +0000 (09:29 +0900)
commitabf3c0f23df6686a984efc8fae7277fcdaffaa32
tree201f8fe3ecdb62e5aceba15f00a3bdb13da9e683
parent4f4fad27aceb87621d40f3068b94b5b11fc0127b
[MTD] OneNAND: Reduce internal BufferRAM operations

It use blockpage instead of a pair (block, page). It can also cover a small chunk access. 0x00, 0x20, 0x40 and so on.

And in JFFS2 behavior, sometimes it reads two pages alternatively.
e.g., It first reads A page, B page and A page.
So we check another bufferram to find requested page.

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/mtd/onenand/onenand_base.c
include/linux/mtd/onenand.h