bdk: ccplex: do not disable mselect on cpu pwrgate

This commit is contained in:
CTCaer authored and NaGa committed 2026-03-27 09:57:59 +01:00
1 parent 64a4f9db16
commit 2004b38f41
1 file changed
+1 -3
+1 -3
View File
@@ -146,8 +146,6 @@ void ccplex_powergate_cpu0()
CLOCK(CLK_RST_CONTROLLER_RST_CPUG_CMPLX_SET) = BIT(30) | BIT(24) | BIT(16) | BIT(0);
// Set NONCPU reset.
CLOCK(CLK_RST_CONTROLLER_RST_CPUG_CMPLX_SET) = BIT(29);
// Set MSELECT reset.
CLOCK(CLK_RST_CONTROLLER_RST_DEV_V_SET) = BIT(CLK_V_MSELECT);
// Disable CE0.
pmc_domain_pwrgate_set(POWER_RAIL_CE0, DISABLE);
@@ -159,7 +157,7 @@ void ccplex_powergate_cpu0()
clock_disable_coresight();
// Clear out MSELECT and CPU clocks.
CLOCK(CLK_RST_CONTROLLER_CLK_ENB_V_CLR) = BIT(CLK_V_MSELECT) | BIT(CLK_V_CPUG);
CLOCK(CLK_RST_CONTROLLER_CLK_ENB_V_CLR) = BIT(CLK_V_CPUG);
_ccplex_disable_power();
}