[MTD] NAND: Combined oob buffer so it's contiguous with data
authorDavid Woodhouse <dwmw2@infradead.org>
Sat, 21 Oct 2006 16:09:53 +0000 (17:09 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Sat, 21 Oct 2006 16:48:58 +0000 (17:48 +0100)
commit7dcdcbef5d2b60d1db68fd2c07351f7afd8ad376
tree8a3817d93520bf28aaea42534a953909f9bb10e3
parent513b046c96cc2fbce730a3474f6f7ff0c4fdd05c
[MTD] NAND: Combined oob buffer so it's contiguous with data

Ditch the separate oobrbuf and oobwbuf fields from the chip buffers,
and use only a single buffer immediately after the data. This accommodates
NAND controllers such as the OLPC CAFÉ chip, which can't do scatter/gather
DMA so needs the OOB buffer to be contiguous with the data, for both read
and write.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/nand_base.c
include/linux/mtd/nand.h