blob: 3c093aa33cbb679c4f560b407d08a782776553c4 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Hongbo Zhang4f6e6102016-07-21 18:09:38 +08002/*
3 * Copyright 2016 NXP Semiconductor.
4 * Author: Wang Dongsheng <dongsheng.wang@freescale.com>
Hongbo Zhang4f6e6102016-07-21 18:09:38 +08005 */
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
20psci_system_off:
211: wfi
22 b 1b
23
24 .popsection