arm: Add PSCI shutdown function
authorAlexander Graf <agraf@suse.de>
Tue, 16 Aug 2016 19:08:47 +0000 (21:08 +0200)
committerAlexander Graf <agraf@suse.de>
Tue, 18 Oct 2016 07:08:08 +0000 (09:08 +0200)
commit3ee655ed83ada67912cbbd14b6685bc0c7102553
treebb700ca0e2c742b2f2422a47ff7aa8b27e05c307
parent51bfb5b6f522b1fbe453c18df03648d72b08131f
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>
arch/arm/cpu/armv8/fwcall.c
arch/arm/include/asm/system.h