Files
rockchip-kernel/include/linux/mtd
Kamal Dasu af3576199e UPSTREAM: 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 <kdasu.kdev@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>

BUG=chrome-os-partner:35643
TEST=Build for purin with MTD config enabled

(cherry picked from commit 66507c7bc8)
Signed-off-by: Anatol Pomazau <anatol@chromium.org>

Change-Id: I263d8d07bb8266d39c6eaf91885a14922e4e8cc4
Reviewed-on: https://chromium-review.googlesource.com/260620
Trybot-Ready: Anatol Pomazau <anatol@google.com>
Reviewed-by: Dmitry Torokhov <dtor@chromium.org>
Reviewed-by: Daniel Ehrenberg <dehrenberg@chromium.org>
Reviewed-by: Anatol Pomazau <anatol@google.com>
Commit-Queue: Anatol Pomazau <anatol@google.com>
Tested-by: Anatol Pomazau <anatol@google.com>
2015-03-18 08:10:48 +00:00
..
2013-08-05 20:48:49 +01:00
2013-11-06 23:32:59 -08:00
2014-01-20 11:55:23 -08:00