mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 22:36:43 +07:00
aa7eb2bb4e
Zynq is dual core Cortex A9 which starts always at zero. Using simple trampoline ensure long jump to secondary_startup code. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
25 lines
642 B
ArmAsm
25 lines
642 B
ArmAsm
/*
|
|
* 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>
|
|
|
|
__CPUINIT
|
|
|
|
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)
|