xref: /linux/arch/arm/mach-zynq/headsmp.S (revision 74acee309fb2a434dce215d44014e6f8e06975ae)
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright (c) 2013 Steffen Trumtrar <s.trumtrar@pengutronix.de>
4 * Copyright (c) 2012-2013 Xilinx
5 */
6#include <linux/linkage.h>
7#include <linux/init.h>
8#include <asm/assembler.h>
9
10ENTRY(zynq_secondary_trampoline)
11ARM_BE8(setend	be)				@ ensure we are in BE8 mode
12	ldr	r0, zynq_secondary_trampoline_jump
13ARM_BE8(rev	r0, r0)
14	bx	r0
15.globl zynq_secondary_trampoline_jump
16zynq_secondary_trampoline_jump:
17	/* Space for jumping address */
18	.word	0	/* cpu 1 */
19.globl zynq_secondary_trampoline_end
20zynq_secondary_trampoline_end:
21ENDPROC(zynq_secondary_trampoline)
22