mirror of
https://github.com/CTCaer/hekate
synced 2024-12-22 11:21:23 +00:00
hos: use new func
This commit is contained in:
parent
8c44969afb
commit
78cdb5575d
1 changed files with 3 additions and 0 deletions
|
@ -759,6 +759,7 @@ int hos_launch(ini_sec_t *cfg)
|
||||||
volatile secmon_mailbox_t *secmon_mailbox;
|
volatile secmon_mailbox_t *secmon_mailbox;
|
||||||
|
|
||||||
minerva_change_freq(FREQ_1600);
|
minerva_change_freq(FREQ_1600);
|
||||||
|
sdram_div_disable(true);
|
||||||
list_init(&ctxt.kip1_list);
|
list_init(&ctxt.kip1_list);
|
||||||
|
|
||||||
ctxt.cfg = cfg;
|
ctxt.cfg = cfg;
|
||||||
|
@ -1178,6 +1179,7 @@ int hos_launch(ini_sec_t *cfg)
|
||||||
|
|
||||||
// Scale down RAM OC if enabled.
|
// Scale down RAM OC if enabled.
|
||||||
minerva_prep_boot_freq();
|
minerva_prep_boot_freq();
|
||||||
|
sdram_div_disable(false);
|
||||||
|
|
||||||
// Flush cache and disable MMU.
|
// Flush cache and disable MMU.
|
||||||
bpmp_mmu_disable();
|
bpmp_mmu_disable();
|
||||||
|
@ -1192,6 +1194,7 @@ int hos_launch(ini_sec_t *cfg)
|
||||||
|
|
||||||
error:
|
error:
|
||||||
_free_launch_components(&ctxt);
|
_free_launch_components(&ctxt);
|
||||||
|
sdram_div_disable(false);
|
||||||
emmc_end();
|
emmc_end();
|
||||||
|
|
||||||
EPRINTF("\nFailed to launch HOS!");
|
EPRINTF("\nFailed to launch HOS!");
|
||||||
|
|
Loading…
Reference in a new issue