diff options
author | Mugunthan V N <mugunthanvnm@ti.com> | 2016-02-15 15:31:39 +0530 |
---|---|---|
committer | Jagan Teki <jteki@openedev.com> | 2016-02-23 16:14:46 +0530 |
commit | 7bd1c59bdb5ccf5a0fbd8522fd35b9db1a450fb3 (patch) | |
tree | c01701562e8cd4ddfc956dd5227da9c5d2b81c6c /drivers/mtd/mtd-uclass.c | |
parent | 58da672d49d03e9d7945901e59b9a1174b4f1f67 (diff) | |
download | u-boot-imx-7bd1c59bdb5ccf5a0fbd8522fd35b9db1a450fb3.zip u-boot-imx-7bd1c59bdb5ccf5a0fbd8522fd35b9db1a450fb3.tar.gz u-boot-imx-7bd1c59bdb5ccf5a0fbd8522fd35b9db1a450fb3.tar.bz2 |
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>
Diffstat (limited to 'drivers/mtd/mtd-uclass.c')
0 files changed, 0 insertions, 0 deletions