summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-zynq/headsmp.S
blob: 57a32869f0aa3215e0e49c282ca58d7f8976cad3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * Copyright (c) 2013 Steffen Trumtrar <s.trumtrar@pengutronix.de>
 * Copyright (c) 2012-2013 Xilinx
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */
#include <linux/linkage.h>
#include <linux/init.h>

ENTRY(zynq_secondary_trampoline)
	ldr	r0, [pc]
	bx	r0
.globl zynq_secondary_trampoline_jump
zynq_secondary_trampoline_jump:
	/* Space for jumping address */
	.word	/* cpu 1 */
.globl zynq_secondary_trampoline_end
zynq_secondary_trampoline_end:
ENDPROC(zynq_secondary_trampoline)

ENTRY(zynq_secondary_startup)
	bl	v7_invalidate_l1
	b	secondary_startup
ENDPROC(zynq_secondary_startup)
OpenPOWER on IntegriCloud