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:
parent
e1395a4987
commit
fe350df05e
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue