xref: /openbmc/u-boot/arch/arm/cpu/armv8/spin_table_v8.S (revision 83d290c56fab2d38cd1ab4c4cc7099559c1d5046)
1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (C) 2016 Socionext Inc.
4 *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
5 */
6
7#include <linux/linkage.h>
8
9ENTRY(spin_table_secondary_jump)
10.globl spin_table_reserve_begin
11spin_table_reserve_begin:
120:	wfe
13	ldr	x0, spin_table_cpu_release_addr
14	cbz	x0, 0b
15	br	x0
16.globl spin_table_cpu_release_addr
17	.align	3
18spin_table_cpu_release_addr:
19	.quad	0
20.globl spin_table_reserve_end
21spin_table_reserve_end:
22ENDPROC(spin_table_secondary_jump)
23