hos/mtc: Add FSP WAR and boost HOS booting times

By implementing FSP WAR we can allow HOS to boot in 1600MHz and be able to switch frequency without hanging.
This commit is contained in:
CTCaer
2019-12-04 21:59:58 +02:00
parent 84328aa676
commit 641a57a4f6
4 changed files with 12 additions and 4 deletions

View File

@@ -745,7 +745,7 @@ int hos_launch(ini_sec_t *cfg)
// Flush cache and disable MMU.
bpmp_mmu_disable();
bpmp_clk_rate_set(BPMP_CLK_NORMAL);
minerva_change_freq(FREQ_800);
minerva_change_freq(FREQ_1600);
// emuMMC: Some cards (Sandisk U1), do not like a fast power cycle. Wait min 100ms.
sdmmc_storage_init_wait_sd();

View File

@@ -1265,7 +1265,6 @@ void ipl_main()
// Train DRAM and switch to max frequency.
minerva_init();
minerva_change_freq(FREQ_1600);
display_init();