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,7 +1164,6 @@ 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.