From b566d0403604a938a767fcdf3b142acab02b26bd Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Fri, 1 Jun 2018 01:39:08 -0600 Subject: [PATCH] Exosphere: Fix 4.0+ hang while waiting for BPMP shutdown. --- exosphere/src/bootup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exosphere/src/bootup.c b/exosphere/src/bootup.c index 88bad9361..bd6c640a9 100644 --- a/exosphere/src/bootup.c +++ b/exosphere/src/bootup.c @@ -235,7 +235,7 @@ void setup_4x_mmio(void) { MC_SMMU_AVPC_ASID_0 = 0x80000001; MC_SMMU_PPCS1_ASID_0 = 0x80000001; /* Wait for the BPMP to halt. */ - while ((FLOW_CTLR_HALT_COP_EVENTS_0 >> 29) != 5) { + while ((FLOW_CTLR_HALT_COP_EVENTS_0 >> 28) != 5) { wait(1); } /* If not in a debugging context, setup the activity monitor. */