soc/intel/skylake: pass SataSpeedLimit param to FSP2

The Librem13v2 needs to set this parameter to work around
power-related issues with some SATA devices.

Change-Id: I7fcef36ec8662e18834394b72427a0633c6b7e92
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/22045
Reviewed-by: Youness Alaoui <snifikino@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Matt DeVillier 2017-10-10 14:03:36 -05:00 committed by Martin Roth
parent c25c998888
commit 9e0d69bf1e
2 changed files with 3 additions and 0 deletions

View File

@ -148,6 +148,7 @@ struct soc_intel_skylake_config {
u8 SataSalpSupport; u8 SataSalpSupport;
u8 SataPortsEnable[8]; u8 SataPortsEnable[8];
u8 SataPortsDevSlp[8]; u8 SataPortsDevSlp[8];
u8 SataSpeedLimit;
/* Audio related */ /* Audio related */
u8 EnableAzalia; u8 EnableAzalia;

View File

@ -206,6 +206,8 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd)
params->Device4Enable = config->Device4Enable; params->Device4Enable = config->Device4Enable;
params->SataEnable = config->EnableSata; params->SataEnable = config->EnableSata;
params->SataMode = config->SataMode; params->SataMode = config->SataMode;
params->SataSpeedLimit = config->SataSpeedLimit;
tconfig->PchLockDownGlobalSmi = config->LockDownConfigGlobalSmi; tconfig->PchLockDownGlobalSmi = config->LockDownConfigGlobalSmi;
tconfig->PchLockDownRtcLock = config->LockDownConfigRtcLock; tconfig->PchLockDownRtcLock = config->LockDownConfigRtcLock;
/* /*