commit | ffa639e069fb55a150a2f14af6762b2c429e6d50 | [log] [tgz] |
---|---|---|
author | Vignesh R <vigneshr@ti.com> | Tue Apr 10 13:49:10 2018 +0530 |
committer | Boris Brezillon <boris.brezillon@bootlin.com> | Fri Apr 20 22:53:52 2018 +0200 |
tree | 081f47aa29fadc98f5e19c6ac723d0337480fb91 | |
parent | c7aa1b77f96f3549ac71ac3eb631c8e47536bcf6 [diff] |
mtd: spi-nor: cadence-quadspi: Add DMA support for direct mode reads Add support to use DMA over memory mapped reads in direct mode. This helps in reducing CPU usage from ~100% to ~10% when reading data from flash. For non-DMA'able/vmalloc'd buffers, driver just falls back to CPU based memcpy. Signed-off-by: Vignesh R <vigneshr@ti.com> Reviewed-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>