diff options
author | Andre Przywara <andre.przywara@arm.com> | 2016-05-10 00:06:30 +0100 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2016-06-02 01:29:48 +0100 |
commit | a130eacb706832b009cab3de9c899664b8a7d734 (patch) | |
tree | 9d23e2708282d6105a1113a2a33732b9c1c9ad44 | |
parent | 4a54adb1c83a17e60c387ca6509a959505bdc14f (diff) |
PSCI: remove arisc from PSCI_SHUTDOWN
The arisc can tell the PMIC to power down the SoC, but we are going to
loose the arisc, so replace the arisc implementation for shutdown with a
warning and a hang until we have the PMIC code in place.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
-rw-r--r-- | plat/sun50iw1p1/plat_pm.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/plat/sun50iw1p1/plat_pm.c b/plat/sun50iw1p1/plat_pm.c index 9d9bc0f..22d37e2 100644 --- a/plat/sun50iw1p1/plat_pm.c +++ b/plat/sun50iw1p1/plat_pm.c @@ -256,15 +256,8 @@ static int32_t sunxi_affinst_suspend_finish(uint64_t mpidr, ******************************************************************************/ static void __dead2 sunxi_system_off(void) { - uint32_t response; + ERROR("PSCI system shutdown not implemented, halting the system.\n"); - /* Send the power down request to the SCP */ - response = arisc_system_op(arisc_system_shutdown); - - if (response != SCP_OK) { - ERROR("Sunxi System Off: SCP error %u.\n", response); - panic(); - } wfi(); ERROR("Sunxi System Off: operation not handled.\n"); panic(); |