Fix random }
This commit is contained in:
@@ -563,12 +563,6 @@ void ClockManager::Tick()
|
|||||||
/* Dvfs here. */
|
/* Dvfs here. */
|
||||||
Board::SetHz((SysClkModule)module, nearestHz);
|
Board::SetHz((SysClkModule)module, nearestHz);
|
||||||
this->context->freqs[module] = nearestHz;
|
this->context->freqs[module] = nearestHz;
|
||||||
RefreshContext();
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
Board::SetHz((SysClkModule)module, nearestHz);
|
|
||||||
this->context->freqs[module] = nearestHz;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(module == SysClkModule_CPU && this->config->GetConfigValue(HocClkConfigValue_FixCpuVoltBug)) {
|
if(module == SysClkModule_CPU && this->config->GetConfigValue(HocClkConfigValue_FixCpuVoltBug)) {
|
||||||
@@ -657,7 +651,11 @@ bool ClockManager::RefreshContext()
|
|||||||
break;
|
break;
|
||||||
case SysClkModule_MEM:
|
case SysClkModule_MEM:
|
||||||
Board::ResetToStockMem();
|
Board::ResetToStockMem();
|
||||||
/* Dvfs with vmin = 0 here. */
|
|
||||||
|
if (Board::GetSocType() == SysClkSocType_Mariko) {
|
||||||
|
Board::PcvHijackDvfs(0);
|
||||||
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user