mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 10:48:51 +00:00
24 lines
500 B
ArmAsm
24 lines
500 B
ArmAsm
|
/*
|
||
|
* Copyright (C) 2016 Socionext Inc.
|
||
|
* Author: Masahiro Yamada <yamada.masahiro@socionext.com>
|
||
|
*
|
||
|
* SPDX-License-Identifier: GPL-2.0+
|
||
|
*/
|
||
|
|
||
|
#include <linux/linkage.h>
|
||
|
|
||
|
ENTRY(spin_table_secondary_jump)
|
||
|
.globl spin_table_reserve_begin
|
||
|
spin_table_reserve_begin:
|
||
|
0: wfe
|
||
|
ldr x0, spin_table_cpu_release_addr
|
||
|
cbz x0, 0b
|
||
|
br x0
|
||
|
.globl spin_table_cpu_release_addr
|
||
|
.align 3
|
||
|
spin_table_cpu_release_addr:
|
||
|
.quad 0
|
||
|
.globl spin_table_reserve_end
|
||
|
spin_table_reserve_end:
|
||
|
ENDPROC(spin_table_secondary_jump)
|