Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+26 −26
Original line number Diff line number Diff line
@@ -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;