Fix random }
This commit is contained in:
@@ -560,13 +560,7 @@ void ClockManager::Tick()
|
|||||||
targetHz / 1000000, targetHz / 100000 - targetHz / 1000000 * 10
|
targetHz / 1000000, targetHz / 100000 - targetHz / 1000000 * 10
|
||||||
);
|
);
|
||||||
|
|
||||||
/* Dvfs here. */
|
/* Dvfs here. */
|
||||||
Board::SetHz((SysClkModule)module, nearestHz);
|
|
||||||
this->context->freqs[module] = nearestHz;
|
|
||||||
RefreshContext();
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
Board::SetHz((SysClkModule)module, nearestHz);
|
Board::SetHz((SysClkModule)module, nearestHz);
|
||||||
this->context->freqs[module] = nearestHz;
|
this->context->freqs[module] = nearestHz;
|
||||||
}
|
}
|
||||||
@@ -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