mirror of
https://github.com/CTCaer/hekate.git
synced 2024-11-22 18:06:40 +00:00
bdk: minerva: do not handle oc freq
Arachne already handles it.
This commit is contained in:
parent
01a8f30925
commit
ce42e27f45
2 changed files with 6 additions and 3 deletions
|
@ -171,7 +171,7 @@ void minerva_prep_boot_freq()
|
|||
minerva_change_freq(FREQ_800);
|
||||
}
|
||||
|
||||
void minerva_prep_boot_l4t(int oc_freq)
|
||||
void minerva_prep_boot_l4t(u32 oc_freq)
|
||||
{
|
||||
if (!minerva_cfg)
|
||||
return;
|
||||
|
@ -201,7 +201,10 @@ void minerva_prep_boot_l4t(int oc_freq)
|
|||
{
|
||||
mtc_cfg->rate_to = mtc_cfg->mtc_table[i].rate_khz;
|
||||
// Skip already trained frequencies.
|
||||
if (mtc_cfg->rate_to == FREQ_204 || mtc_cfg->rate_to == FREQ_800 || mtc_cfg->rate_to == FREQ_1600)
|
||||
if (mtc_cfg->rate_to == FREQ_204 ||
|
||||
mtc_cfg->rate_to == FREQ_800 ||
|
||||
mtc_cfg->rate_to == FREQ_1600 ||
|
||||
mtc_cfg->rate_to == oc_freq) // Skip OC freq since Arachne handles it.
|
||||
continue;
|
||||
|
||||
// Train frequency.
|
||||
|
|
|
@ -63,7 +63,7 @@ u32 minerva_init();
|
|||
void minerva_change_freq(minerva_freq_t freq);
|
||||
void minerva_sdmmc_la_program(void *table, bool t210b01);
|
||||
void minerva_prep_boot_freq();
|
||||
void minerva_prep_boot_l4t(int oc_freq);
|
||||
void minerva_prep_boot_l4t(u32 oc_freq);
|
||||
void minerva_periodic_training();
|
||||
emc_table_t *minerva_get_mtc_table();
|
||||
int minerva_get_mtc_table_entries();
|
||||
|
|
Loading…
Reference in a new issue