]> git.dujemihanovic.xyz Git - u-boot.git/commit
dma: Add stub of dma_memcpy and dma_get_device
authorVignesh Raghavendra <vigneshr@ti.com>
Fri, 15 Nov 2019 11:30:42 +0000 (17:00 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 16 Jan 2020 00:50:31 +0000 (19:50 -0500)
commit1e373301dc90cd9a33f858d00804061b7e3e29ce
treee07c315e33aaf6fe265314e2df44dc628ce0b661
parent74326a320a93e8c2596223545bcb14702e8b87ac
dma: Add stub of dma_memcpy and dma_get_device

Add stub for dma_memcpy() and dma_get_device when CONFIG_DMA is
disabled. This avoids ifdefs in driver code using DMA APIs

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/dma.h