2019-06-04 16:11:33 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2013-03-20 20:50:12 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2013 Steffen Trumtrar <s.trumtrar@pengutronix.de>
|
|
|
|
* Copyright (c) 2012-2013 Xilinx
|
|
|
|
*/
|
|
|
|
#include <linux/linkage.h>
|
|
|
|
#include <linux/init.h>
|
2014-04-11 21:05:56 +08:00
|
|
|
#include <asm/assembler.h>
|
2013-03-20 20:50:12 +08:00
|
|
|
|
2019-08-08 20:52:42 +08:00
|
|
|
.arm
|
|
|
|
|
2013-03-20 20:50:12 +08:00
|
|
|
ENTRY(zynq_secondary_trampoline)
|
2014-04-11 21:05:56 +08:00
|
|
|
ARM_BE8(setend be) @ ensure we are in BE8 mode
|
|
|
|
ldr r0, zynq_secondary_trampoline_jump
|
|
|
|
ARM_BE8(rev r0, r0)
|
2013-03-20 20:50:12 +08:00
|
|
|
bx r0
|
|
|
|
.globl zynq_secondary_trampoline_jump
|
|
|
|
zynq_secondary_trampoline_jump:
|
|
|
|
/* Space for jumping address */
|
2015-07-18 05:01:02 +08:00
|
|
|
.word 0 /* cpu 1 */
|
2013-03-20 20:50:12 +08:00
|
|
|
.globl zynq_secondary_trampoline_end
|
|
|
|
zynq_secondary_trampoline_end:
|
|
|
|
ENDPROC(zynq_secondary_trampoline)
|