xref: /linux/arch/arm/mach-zynq/headsmp.S (revision b3fdfc1b4b641d372e35ced98814289bc60bc5d1)
1/*
2 * Copyright (c) 2013 Steffen Trumtrar <s.trumtrar@pengutronix.de>
3 * Copyright (c) 2012-2013 Xilinx
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
8 */
9#include <linux/linkage.h>
10#include <linux/init.h>
11
12ENTRY(zynq_secondary_trampoline)
13	ldr	r0, [pc]
14	bx	r0
15.globl zynq_secondary_trampoline_jump
16zynq_secondary_trampoline_jump:
17	/* Space for jumping address */
18	.word	/* cpu 1 */
19.globl zynq_secondary_trampoline_end
20zynq_secondary_trampoline_end:
21ENDPROC(zynq_secondary_trampoline)
22
23ENTRY(zynq_secondary_startup)
24	bl	v7_invalidate_l1
25	b	secondary_startup
26ENDPROC(zynq_secondary_startup)
27