]> git.dujemihanovic.xyz Git - u-boot.git/commit
sf: ops: Add spi_flash_copy_mmap function
authorTom Rini <trini@ti.com>
Mon, 17 Aug 2015 07:59:54 +0000 (13:29 +0530)
committerJagan Teki <jteki@openedev.com>
Mon, 17 Aug 2015 17:59:14 +0000 (23:29 +0530)
commit146bad96191753f1918bfa4dca75d20e03fc63b2
tree88aa8eca08516457d4c4b4e3b694f74e640c28a4
parent5b3b0d687ef927fff56d6c2af1f2a1134e6ee31c
sf: ops: Add spi_flash_copy_mmap function

When doing a memory mapped copy we may have DMA available and thus need
to have this copy abstracted so that the driver can do it, rather than a
simple memcpy.

Signed-off-by: Tom Rini <trini@ti.com>
Signed-off-by: Vignesh R <vigneshr@ti.com>
Reviewed-by: Jagan Teki <jteki@openedev.com>
drivers/mtd/spi/sf_ops.c
include/spi.h