hos: rename function

This commit is contained in:
CTCaer 2024-07-02 18:04:52 +03:00
parent aacae78420
commit 106a08f19c

View file

@ -759,7 +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); sdram_src_pllc(true);
list_init(&ctxt.kip1_list); list_init(&ctxt.kip1_list);
ctxt.cfg = cfg; ctxt.cfg = cfg;
@ -1179,8 +1179,8 @@ int hos_launch(ini_sec_t *cfg)
hw_config_arbiter(true); hw_config_arbiter(true);
// Scale down RAM OC if enabled. // Scale down RAM OC if enabled.
sdram_src_pllc(false);
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();
@ -1195,7 +1195,7 @@ int hos_launch(ini_sec_t *cfg)
error: error:
_free_launch_components(&ctxt); _free_launch_components(&ctxt);
sdram_div_disable(false); sdram_src_pllc(false);
emmc_end(); emmc_end();
EPRINTF("\nFailed to launch HOS!"); EPRINTF("\nFailed to launch HOS!");