commit | 4e4b58dd826072e4648483c4ebab5ec5a7da3e02 | [log] [tgz] |
---|---|---|
author | Mugunthan V N <mugunthanvnm@ti.com> | Mon Feb 15 15:31:39 2016 +0530 |
committer | Jagan Teki <jteki@openedev.com> | Tue Feb 23 16:14:46 2016 +0530 |
tree | c01701562e8cd4ddfc956dd5227da9c5d2b81c6c | |
parent | 7e435fbdb4c64ace7b5ad91790424d35999111e7 [diff] |
sf: spi_flash: use dma to copy data from mmap region if platform supports Add dma memcpy api to the default spi_flash_copy_mmap(), so that dma will be used to copy data when CONFIG_DMA is defined for the platform. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jagan Teki <jteki@openedev.com>