]> git.sur5r.net Git - u-boot/commit
spi: ti_qspi: compile out spi_flash_copy_mmap when CONFIG_DMA is defined
authorMugunthan V N <mugunthanvnm@ti.com>
Mon, 15 Feb 2016 10:01:40 +0000 (15:31 +0530)
committerJagan Teki <jteki@openedev.com>
Tue, 23 Feb 2016 10:44:46 +0000 (16:14 +0530)
commit518b0afc33b09160afb0f6ac33c5de499c2b95d9
treebb293b6a48ba2648cc64d971d5588c23c3e38c25
parent7bd1c59bdb5ccf5a0fbd8522fd35b9db1a450fb3
spi: ti_qspi: compile out spi_flash_copy_mmap when CONFIG_DMA is defined

When CONFIG_DMA is defined the default spi_flash_copy_mmap() can
handle dma memory copy, so compile out spi_flash_copy_mmap() from
ti_qspi driver when CONFIG_DMA config is defined.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagan Teki <jteki@openedev.com>
drivers/spi/ti_qspi.c