Lokesh Vutla | ceadc3e | 2018-11-15 11:04:50 +0530 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
Nishanth Menon | eaa39c6 | 2023-11-01 15:56:03 -0500 | [diff] [blame] | 3 | * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/ |
Lokesh Vutla | ceadc3e | 2018-11-15 11:04:50 +0530 | [diff] [blame] | 4 | * Lokesh Vutla <lokeshvutla@ti.com> |
| 5 | */ |
| 6 | |
| 7 | #include <linux/linkage.h> |
| 8 | |
| 9 | ENTRY(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 |
| 16 | park_cpu: |
| 17 | wfi |
| 18 | b park_cpu |
| 19 | |
| 20 | ENDPROC(lowlevel_init) |