soc/intel/alderlake: Make Energy Efficient Turbo configurable
Hook up Energy Efficient Turbo to devicetree so it can be configured. The default value of 0 will ensure this doesn't change existing boards. Change-Id: I58a9877371ec66e71cee15aced2413a282416b5c Signed-off-by: Sean Rhodes <sean@starlabs.systems> Reviewed-on: https://review.coreboot.org/c/coreboot/+/86855 Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
06f3c07a25
commit
3ff85e5dcd
2 changed files with 4 additions and 1 deletions
|
|
@ -596,6 +596,9 @@ struct soc_intel_alderlake_config {
|
|||
*/
|
||||
bool dmi_power_optimize_disable;
|
||||
|
||||
/* Enable/Disable Energy Efficient Turbo */
|
||||
bool energy_efficient_turbo;
|
||||
|
||||
/*
|
||||
* Used to communicate the power delivery design capability of the board. This
|
||||
* value is an enum of the available power delivery segments that are defined in
|
||||
|
|
|
|||
|
|
@ -1011,7 +1011,7 @@ static void fill_fsps_misc_power_params(FSP_S_CONFIG *s_cfg,
|
|||
s_cfg->PkgCStateLimit = LIMIT_AUTO;
|
||||
|
||||
/* Disable Energy Efficient Turbo mode */
|
||||
s_cfg->EnergyEfficientTurbo = 0;
|
||||
s_cfg->EnergyEfficientTurbo = config->energy_efficient_turbo;
|
||||
|
||||
/* VccIn Aux Imon IccMax. Values are in 1/4 Amp increments and range is 0-512. */
|
||||
s_cfg->VccInAuxImonIccImax =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue