Commits
Vignesh R committed 243a3633992
spi: Add DMA support for spi_flash_read() Many SPI devices provide accelerated read interfaces to read from SPI-NOR flash devices. These hardwares also support DMA to transfer data from flash to memory either via mem-to-mem dma or dedicated slave dma channels. Hence, add support for DMA in order to improve throughput and reduce CPU load. Since, Flash filesystems like JFFS2 can provide buffers that cannot be mapped using dma_map_sg(), spi drivers may have to use bounce buffers/ memcpy() in such cases. Signed-off-by: Vignesh R <vigneshr@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>