blob: 70c5d1cade4668f473957fca44609d61b39cbac6 [file] [log] [blame]
Lokesh Vutlaceadc3e2018-11-15 11:04:50 +05301/* 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)