From: Kamal Dasu Date: Fri, 2 May 2014 00:51:19 +0000 (-0400) Subject: mtd: nand: Add support to use nand_base poi databuf as bounce buffer X-Git-Tag: omap-for-v3.16/fixes-against-rc1~57^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66507c7bc8895f0da6b4ad87e96d61a9f7d7a118;p=pandora-kernel.git mtd: nand: Add support to use nand_base poi databuf as bounce buffer nand_base can be passed a kmap()'d buffers from highmem by filesystems like jffs2. This results in failure to map the physical address of the DMA buffer on various contoller driver on different platforms. This change adds a chip option to use preallocated databuf as bounce buffers used in nand_do_read_ops() and nand_do_write_ops(). This allows for specific nand controller driver to set this option as needed. Signed-off-by: Kamal Dasu Signed-off-by: Brian Norris --- Reading git-diff-tree failed