Commit 88cd4e88 authored by Michal Simek's avatar Michal Simek

ARM: zynq: Not to rewrite jump code when starting address is 0x0

This configuration is used by remoteproc.
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 7ac161c4
......@@ -53,7 +53,7 @@ int __cpuinit zynq_cpun_start(u32 address, int cpu)
&zynq_secondary_trampoline;
zynq_slcr_cpu_stop(cpu);
if (address) {
if (__pa(PAGE_OFFSET)) {
zero = ioremap(0, trampoline_code_size);
if (!zero) {
......@@ -80,7 +80,7 @@ int __cpuinit zynq_cpun_start(u32 address, int cpu)
if (__pa(PAGE_OFFSET))
iounmap(zero);
}
zynq_slcr_cpu_start(cpu);
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment