summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/system.h
diff options
context:
space:
mode:
authorBeniamino Galvani <b.galvani@gmail.com>2016-05-08 08:30:14 +0200
committerTom Rini <trini@konsulko.com>2016-05-27 15:39:46 -0400
commit5a07abb3705f561221e7ae351beba746b6ae6eb7 (patch)
tree5db3657b26c6c19f06d0b2929edb9872e12666bf /arch/arm/include/asm/system.h
parent20898ea9340a4fd1631a4057b8de011b9f166255 (diff)
downloadtalos-obmc-uboot-5a07abb3705f561221e7ae351beba746b6ae6eb7.tar.gz
talos-obmc-uboot-5a07abb3705f561221e7ae351beba746b6ae6eb7.zip
arm: implement generic PSCI reset call for armv8
Add a psci_system_reset() which calls the SYSTEM_RESET function of PSCI 0.2 and can be used by boards that support it to implement reset_cpu(). Signed-off-by: Beniamino Galvani <b.galvani@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/include/asm/system.h')
-rw-r--r--arch/arm/include/asm/system.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/system.h b/arch/arm/include/asm/system.h
index 9ae890a830..2bdc0bec82 100644
--- a/arch/arm/include/asm/system.h
+++ b/arch/arm/include/asm/system.h
@@ -128,6 +128,8 @@ void hvc_call(struct pt_regs *args);
*/
void smc_call(struct pt_regs *args);
+void __noreturn psci_system_reset(bool smc);
+
#endif /* __ASSEMBLY__ */
#else /* CONFIG_ARM64 */
OpenPOWER on IntegriCloud