soc/intel/skylake: Add device setting for sata power optimization
This change provides option in devicetree and feeds the option to FSP SataPwrOptEnable UPD for power saving purpose BUG=b:70491485 Change-Id: I9099c5c97765a118bdee64da303cb3ba6ceb951b Signed-off-by: Kane Chen <kane.chen@intel.com> Reviewed-on: https://review.coreboot.org/23018 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
parent
8e4384d0b4
commit
14e0fa5ee0
|
@ -542,6 +542,9 @@ struct soc_intel_skylake_config {
|
||||||
|
|
||||||
/* PCH Trip Temperature */
|
/* PCH Trip Temperature */
|
||||||
u8 pch_trip_temp;
|
u8 pch_trip_temp;
|
||||||
|
|
||||||
|
/* Enable/Disable Sata power optimization */
|
||||||
|
u8 SataPwrOptEnable;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct soc_intel_skylake_config config_t;
|
typedef struct soc_intel_skylake_config config_t;
|
||||||
|
|
|
@ -219,6 +219,7 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd)
|
||||||
params->SataEnable = config->EnableSata;
|
params->SataEnable = config->EnableSata;
|
||||||
params->SataMode = config->SataMode;
|
params->SataMode = config->SataMode;
|
||||||
params->SataSpeedLimit = config->SataSpeedLimit;
|
params->SataSpeedLimit = config->SataSpeedLimit;
|
||||||
|
params->SataPwrOptEnable = config->SataPwrOptEnable;
|
||||||
|
|
||||||
tconfig->PchLockDownGlobalSmi = config->LockDownConfigGlobalSmi;
|
tconfig->PchLockDownGlobalSmi = config->LockDownConfigGlobalSmi;
|
||||||
tconfig->PchLockDownRtcLock = config->LockDownConfigRtcLock;
|
tconfig->PchLockDownRtcLock = config->LockDownConfigRtcLock;
|
||||||
|
|
Loading…
Reference in New Issue