summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: be04ef0)
raw | patch | inline | side by side (parent: be04ef0)
author | Wendy Liang <jliang@xilinx.com> | |
Fri, 12 Aug 2016 17:44:41 +0000 (10:44 -0700) | ||
committer | Wendy Liang <jliang@xilinx.com> | |
Thu, 13 Oct 2016 05:01:47 +0000 (22:01 -0700) |
As the Cortex R5 to A53 remoteproc calls the remoteproc platform
for initialization, the shared memory mapping is done in the
remoteproc platform, remove the duplication from this remoteproc
driver.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
for initialization, the shared memory mapping is done in the
remoteproc platform, remove the duplication from this remoteproc
driver.
Signed-off-by: Wendy Liang <jliang@xilinx.com>
lib/remoteproc/drivers/zynqmp_remoteproc_a53.c | patch | blob | history |
diff --git a/lib/remoteproc/drivers/zynqmp_remoteproc_a53.c b/lib/remoteproc/drivers/zynqmp_remoteproc_a53.c
index 386eb23fc14ed304cd1e7ec94fc7ac8df8125b75..d2139650cfe40d5e5b362e3e9b5f732dc65095d9 100644 (file)
}
metal_io_write32(io, IPI_IDR_OFFSET, ipi->ipi_chn_mask);
atomic_store(&ipi->sync, 1);
- /* Enable mapping for the shared memory region */
- if (proc->sh_buff.size)
- metal_io_mem_map((metal_phys_addr_t)proc->sh_buff.start_addr,
- proc->sh_buff.io,
- proc->sh_buff.size);
return proc;
error:
if (proc) {