soc: qcom: subsys-pil-tz: initialize DMA ops

Initialize the DMA operations for the MDT data
DMA allocation.

Change-Id: If8eae5e91b4145be8d9e5eeeb28c14cda88e617f
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
This commit is contained in:
David Keitel 2016-02-04 10:03:38 -08:00
parent e1395a4987
commit fe350df05e

View file

@ -587,6 +587,8 @@ static int pil_init_image_trusted(struct pil_desc *pil,
ret = scm_pas_enable_bw();
if (ret)
return ret;
arch_setup_dma_ops(&dev, 0, 0, NULL, 0);
dev.coherent_dma_mask =
DMA_BIT_MASK(sizeof(dma_addr_t) * 8);
dma_set_attr(DMA_ATTR_STRONGLY_ORDERED, &attrs);