u-boot/arch/arm/mach-k3/r5/lowlevel_init.S
Andrew Davis ffda1089dd arm: mach-k3: Move R5 specific code into new r5/ directory
This makes it clear these are only to be used by the R5 builds of SPL.
And this will be used to later more cleanly split the two builds.

Signed-off-by: Andrew Davis <afd@ti.com>
2023-11-22 12:04:13 -05:00

20 lines
352 B
ArmAsm

/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
* Lokesh Vutla <lokeshvutla@ti.com>
*/
#include <linux/linkage.h>
ENTRY(lowlevel_init)
mrc p15, 0, r0, c0, c0, 5 @ Read MPIDR
and r0, #0xff
cmp r0, #0x0
bne park_cpu
bx lr
park_cpu:
wfi
b park_cpu
ENDPROC(lowlevel_init)