1
0
mirror of https://github.com/CTCaer/hekate.git synced 2024-12-28 15:20:42 +00:00

hos: prep boot freq in minerva for cfw also

This commit is contained in:
CTCaer 2023-06-09 10:41:53 +03:00
parent 93ed4d0899
commit 3f9c7a7da6

View File

@ -1164,8 +1164,7 @@ int hos_launch(ini_sec_t *cfg)
CLOCK(CLK_RST_CONTROLLER_RST_DEV_H_SET) = BIT(CLK_H_AHBDMA) | BIT(CLK_H_APBDMA) | BIT(CLK_H_USB2); CLOCK(CLK_RST_CONTROLLER_RST_DEV_H_SET) = BIT(CLK_H_AHBDMA) | BIT(CLK_H_APBDMA) | BIT(CLK_H_USB2);
// Scale down RAM OC if enabled. // Scale down RAM OC if enabled.
if (ctxt.stock) minerva_prep_boot_freq();
minerva_prep_boot_freq();
// Flush cache and disable MMU. // Flush cache and disable MMU.
bpmp_mmu_disable(); bpmp_mmu_disable();