summaryrefslogtreecommitdiff
path: root/include/spi.h
diff options
context:
space:
mode:
authorVignesh Raghavendra <vigneshr@ti.com>2020-01-27 10:36:40 +0530
committerJagan Teki <jagan@amarulasolutions.com>2020-01-27 22:27:22 +0530
commitffab212123481aa44f37cd4fdb4476ec15ff98b6 (patch)
treecc80bd2eb97b2d4a241c9f6e42b6299c6c0b905c /include/spi.h
parentd640772021589214bd7606d481ae1f52fbe62fe6 (diff)
spi: cadence-qspi: Add direct mode support
Add support for Direct Access Controller mode of Cadence QSPI. This allows MMIO access to SPI NOR flash providing better read performance. Direct mode is only exercised if AHB window size is greater than 8MB. Support for flash address remapping is also not supported at the moment and can be added in future. For better performance, driver uses DMA to copy data from flash in direct mode using dma_memcpy(). Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> Tested-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Acked-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'include/spi.h')
0 files changed, 0 insertions, 0 deletions