]> git.karo-electronics.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 08:24:15 +0000 (10:24 +0200)
commit1b4ca61423b152a472ec811ae29479326d8b8832
tree9bdf1263192efdede56fee8960f1e929d2698eee
parentc86e33b2c1ce5922a3ec72ed6a097fa3fd1b607c
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