[PATCH v5] mtd: nand: Add support to use nand_base poi databuf as bounce buffer
computersforpeace at gmail.com
Tue May 20 01:18:16 PDT 2014
On Thu, May 01, 2014 at 08:51:19PM -0400, Kamal Dasu wrote:
> 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 <kdasu.kdev at gmail.com>
> Changes since v4:
> * Made code more readable as per review comments
Pushed to l2-mtd.git. Thanks!
More information about the linux-mtd