bdk: mc: always enable ahb redirection

This commit is contained in:
CTCaer authored and NaGa committed 2026-03-27 20:42:31 +01:00
1 parent 860e1b12ac
commit 88ba35b73f
2 files changed
+1 -6

No files matched your search

+1 -4
View File
@@ -149,9 +149,6 @@ void mc_enable()
CLOCK(CLK_RST_CONTROLLER_RST_DEV_H_CLR) = BIT(CLK_H_EMC) | BIT(CLK_H_MEM); CLOCK(CLK_RST_CONTROLLER_RST_DEV_H_CLR) = BIT(CLK_H_EMC) | BIT(CLK_H_MEM);
usleep(5); usleep(5);
#ifdef BDK_MC_ENABLE_AHB_REDIRECT // Enable redirection by default.
mc_enable_ahb_redirect(); mc_enable_ahb_redirect();
#else
mc_disable_ahb_redirect();
#endif
} }
-2
View File
@@ -307,10 +307,8 @@ out:
bpmp_mmu_enable(); bpmp_mmu_enable();
bpmp_clk_rate_relaxed(false); bpmp_clk_rate_relaxed(false);
#ifdef BDK_MC_ENABLE_AHB_REDIRECT
// Re-enable AHB aperture. // Re-enable AHB aperture.
mc_enable_ahb_redirect(); mc_enable_ahb_redirect();
#endif
return res; return res;
} }