summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/apollolake/chip.c5
-rw-r--r--src/soc/intel/apollolake/chip.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/src/soc/intel/apollolake/chip.c b/src/soc/intel/apollolake/chip.c
index e824328350..ac8dfdf568 100644
--- a/src/soc/intel/apollolake/chip.c
+++ b/src/soc/intel/apollolake/chip.c
@@ -728,8 +728,11 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *silupd)
silconfig->PavpEnable = CONFIG(PAVP);
/* SATA config */
- if (is_devfn_enabled(PCH_DEVFN_SATA))
+ if (is_devfn_enabled(PCH_DEVFN_SATA)) {
silconfig->SataSalpSupport = !(cfg->DisableSataSalpSupport);
+ memcpy(silconfig->SataPortsEnable, cfg->SataPortsEnable,
+ sizeof(silconfig->SataPortsEnable));
+ }
/* 8254 Timer */
bool use_8254 = get_uint_option("legacy_8254_timer", CONFIG(USE_LEGACY_8254_TIMER));
diff --git a/src/soc/intel/apollolake/chip.h b/src/soc/intel/apollolake/chip.h
index de3ba9780c..c220453595 100644
--- a/src/soc/intel/apollolake/chip.h
+++ b/src/soc/intel/apollolake/chip.h
@@ -99,6 +99,9 @@ struct soc_intel_apollolake_config {
/* Sata Ports Hot Plug */
uint8_t SataPortsHotPlug[2];
+ /* Sata Ports Enable */
+ uint8_t SataPortsEnable[2];
+
/* Specifies on which IRQ the SCI will internally appear. */
uint8_t sci_irq;