remoteproc: r5 to a53: remove shm mem map
authorWendy Liang <jliang@xilinx.com>
Fri, 12 Aug 2016 17:44:41 +0000 (10:44 -0700)
committerWendy 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>
lib/remoteproc/drivers/zynqmp_remoteproc_a53.c

index 386eb23fc14ed304cd1e7ec94fc7ac8df8125b75..d2139650cfe40d5e5b362e3e9b5f732dc65095d9 100644 (file)
@@ -207,11 +207,6 @@ static struct hil_proc * _initialize(void *pdata, int cpu_id)
        }
        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) {