From a130eacb706832b009cab3de9c899664b8a7d734 Mon Sep 17 00:00:00 2001 From: Andre Przywara Date: Tue, 10 May 2016 00:06:30 +0100 Subject: 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 --- plat/sun50iw1p1/plat_pm.c | 9 +-------- 1 file changed, 1 insertion(+), 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(); -- cgit v1.2.3