1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
4 *	Lokesh Vutla <lokeshvutla@ti.com>
5 */
6
7#include <linux/linkage.h>
8
9ENTRY(lowlevel_init)
10
11	mrc	p15, 0, r0, c0, c0, 5		@ Read MPIDR
12	and	r0, #0xff
13	cmp	r0, #0x0
14	bne	park_cpu
15	bx	lr
16park_cpu:
17	wfi
18	b	park_cpu
19
20ENDPROC(lowlevel_init)
21