Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Feng Li | 39e112d | 2016-11-03 14:15:17 +0800 | [diff] [blame] | 2 | /* |
| 3 | * Copyright 2016 NXP Semiconductor. |
| 4 | * Author: Feng Li <feng.li_2@nxp.com> |
Feng Li | 39e112d | 2016-11-03 14:15:17 +0800 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #include <config.h> |
| 8 | #include <linux/linkage.h> |
| 9 | |
| 10 | #include <asm/armv7.h> |
| 11 | #include <asm/psci.h> |
| 12 | |
| 13 | .pushsection ._secure.text, "ax" |
| 14 | |
| 15 | .arch_extension sec |
| 16 | |
| 17 | .align 5 |
| 18 | |
| 19 | .globl psci_system_off |
| 20 | psci_system_off: |
| 21 | 1: wfi |
| 22 | b 1b |
| 23 | |
| 24 | .globl psci_text_end |
| 25 | psci_text_end: |
| 26 | nop |
| 27 | .popsection |