diff options
-rw-r--r-- | src/soc/intel/apollolake/chip.c | 3 | ||||
-rw-r--r-- | src/soc/intel/apollolake/chip.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/soc/intel/apollolake/chip.c b/src/soc/intel/apollolake/chip.c index ac8dfdf568..bbf0564906 100644 --- a/src/soc/intel/apollolake/chip.c +++ b/src/soc/intel/apollolake/chip.c @@ -734,6 +734,9 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *silupd) sizeof(silconfig->SataPortsEnable)); } + /* Sata Power Optimisation */ + silconfig->SataPwrOptEnable = !(cfg->SataPwrOptimizeDisable); + /* 8254 Timer */ bool use_8254 = get_uint_option("legacy_8254_timer", CONFIG(USE_LEGACY_8254_TIMER)); silconfig->Timer8254ClkSetting = use_8254; diff --git a/src/soc/intel/apollolake/chip.h b/src/soc/intel/apollolake/chip.h index c220453595..9352dcbab5 100644 --- a/src/soc/intel/apollolake/chip.h +++ b/src/soc/intel/apollolake/chip.h @@ -212,6 +212,9 @@ struct soc_intel_apollolake_config { /* SATA Aggressive Link Power Management */ uint8_t DisableSataSalpSupport; + + /* Sata Power Optimisation */ + uint8_t SataPwrOptimizeDisable; }; typedef struct soc_intel_apollolake_config config_t; |