summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2016-08-16 21:08:47 +0200
committerAlexander Graf <agraf@suse.de>2016-10-18 09:08:08 +0200
commit3ee655ed83ada67912cbbd14b6685bc0c7102553 (patch)
treebb700ca0e2c742b2f2422a47ff7aa8b27e05c307 /arch/arm/include
parent51bfb5b6f522b1fbe453c18df03648d72b08131f (diff)
downloadu-boot-imx-3ee655ed83ada67912cbbd14b6685bc0c7102553.zip
u-boot-imx-3ee655ed83ada67912cbbd14b6685bc0c7102553.tar.gz
u-boot-imx-3ee655ed83ada67912cbbd14b6685bc0c7102553.tar.bz2
arm: Add PSCI shutdown function
Using PSCI you can not only reset the system, you can also shut it down! This patch exposes a function to do exactly that to whatever code wants to make use of it. Signed-off-by: Alexander Graf <agraf@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/system.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/system.h b/arch/arm/include/asm/system.h
index 5166c65..b928bd8 100644
--- a/arch/arm/include/asm/system.h
+++ b/arch/arm/include/asm/system.h
@@ -116,6 +116,7 @@ void flush_l3_cache(void);
void smc_call(struct pt_regs *args);
void __noreturn psci_system_reset(void);
+void __noreturn psci_system_off(void);
#endif /* __ASSEMBLY__ */