Merge branch 'master' of http://git.denx.de/u-boot-sunxi
[platform/kernel/u-boot.git] / arch / arm / cpu / armv8 / spin_table_v8.S
1 /*
2  * Copyright (C) 2016 Socionext Inc.
3  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
4  *
5  * SPDX-License-Identifier:     GPL-2.0+
6  */
7
8 #include <linux/linkage.h>
9
10 ENTRY(spin_table_secondary_jump)
11 .globl spin_table_reserve_begin
12 spin_table_reserve_begin:
13 0:      wfe
14         ldr     x0, spin_table_cpu_release_addr
15         cbz     x0, 0b
16         br      x0
17 .globl spin_table_cpu_release_addr
18         .align  3
19 spin_table_cpu_release_addr:
20         .quad   0
21 .globl spin_table_reserve_end
22 spin_table_reserve_end:
23 ENDPROC(spin_table_secondary_jump)