[MTD] OneNAND: Do not allow oob write past end of page
authorAdrian Hunter <ext-adrian.hunter@nokia.com>
Tue, 6 Feb 2007 00:15:39 +0000 (09:15 +0900)
committerKyungmin Park <kyungmin.park@samsung.com>
Tue, 6 Feb 2007 00:15:39 +0000 (09:15 +0900)
commit52e4200a6da2d98c537b95f7c502ddadf96a6934
tree9fc09f25af0a74daa46ace5e91b0d606108967c9
parent5b4246f1b089746703287fdf422cf15c6d6eff05
[MTD] OneNAND: Do not allow oob write past end of page

OneNAND can write oob to successive pages, but NAND
does not do that.  For compatibility, disallow OneNAND
from writing past the end of the page.

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/mtd/onenand/onenand_base.c