minerva: Scale down RAM OC if stock boot

This commit is contained in:
CTCaer committed 2021-04-09 19:28:04 +03:00
1 parent c01b8aa89c
commit d42a94f148
3 files changed
+27 -5

No files matched your search

+4
View File
@@ -1140,6 +1140,10 @@ int hos_launch(ini_sec_t *cfg)
bpmp_mmu_disable();
bpmp_clk_rate_set(BPMP_CLK_NORMAL);
// Scale down RAM OC if enabled.
if (ctxt.stock)
minerva_prep_boot_freq();
// emuMMC: Some cards (Sandisk U1), do not like a fast power cycle. Wait min 100ms.
sdmmc_storage_init_wait_sd();