On Friday 29 August 2014 16:54:28 Will Deacon wrote:
> static void of_dma_configure(struct platform_device *pdev)
> {
> - u64 dma_addr, paddr, size;
> + u64 dma_addr, paddr, size, mask;
> int ret;
> - bool coherent;
> + bool coherent, iommu;
> unsigned long
This patch extends of_dma_configure so that it sets up the IOMMU for a
device, as well as the coherent/non-coherent DMA mapping ops.
Signed-off-by: Will Deacon
---
arch/arm/include/asm/dma-mapping.h | 4 +++-
drivers/of/platform.c | 37 ++---
include