summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/apollolake/chip.c4
-rw-r--r--src/soc/intel/apollolake/chip.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/src/soc/intel/apollolake/chip.c b/src/soc/intel/apollolake/chip.c
index 98844a52fd..82ec2da453 100644
--- a/src/soc/intel/apollolake/chip.c
+++ b/src/soc/intel/apollolake/chip.c
@@ -693,6 +693,10 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *silupd)
silconfig->PavpEnable = CONFIG(PAVP);
+ /* SATA config */
+ if (is_devfn_enabled(PCH_DEVFN_SATA))
+ silconfig->SataSalpSupport = !(cfg->DisableSataSalpSupport);
+
mainboard_silicon_init_params(silconfig);
}
diff --git a/src/soc/intel/apollolake/chip.h b/src/soc/intel/apollolake/chip.h
index 482b333306..f531381fac 100644
--- a/src/soc/intel/apollolake/chip.h
+++ b/src/soc/intel/apollolake/chip.h
@@ -190,6 +190,9 @@ struct soc_intel_apollolake_config {
* 0:Enable (default), 1:Disable.
*/
uint8_t disable_xhci_lfps_pm;
+
+ /* SATA Aggressive Link Power Management */
+ uint8_t DisableSataSalpSupport;
};
typedef struct soc_intel_apollolake_config config_t;