summaryrefslogtreecommitdiff
path: root/src/soc/intel/elkhartlake/chip.h
diff options
context:
space:
mode:
authorLean Sheng Tan <lean.sheng.tan@intel.com>2021-05-30 09:08:35 -0700
committerWerner Zeh <werner.zeh@siemens.com>2021-06-04 03:48:31 +0000
commitc6c54439f8caa9796bd28313469bd740eb671275 (patch)
tree1c63eb1c275543eaaaecbe856cd7836e8a0dd47c /src/soc/intel/elkhartlake/chip.h
parent9420e2847e6e3559a5e50eb10206f436b4a14a4f (diff)
soc/intel/elkhartlake: Update FSP-S storage related configs
Further add initial Silicon UPD storage settings: - SATA - SD card - eMMC Signed-off-by: Lean Sheng Tan <lean.sheng.tan@intel.com> Change-Id: Id4145fcf156756a610b8a9a705d4ab99fe7b0bf8 Reviewed-on: https://review.coreboot.org/c/coreboot/+/55082 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
Diffstat (limited to 'src/soc/intel/elkhartlake/chip.h')
-rw-r--r--src/soc/intel/elkhartlake/chip.h19
1 files changed, 17 insertions, 2 deletions
diff --git a/src/soc/intel/elkhartlake/chip.h b/src/soc/intel/elkhartlake/chip.h
index ebe14d5a17..f51e723c8d 100644
--- a/src/soc/intel/elkhartlake/chip.h
+++ b/src/soc/intel/elkhartlake/chip.h
@@ -90,8 +90,22 @@ struct soc_intel_elkhartlake_config {
/* SATA related */
uint8_t SataMode;
uint8_t SataSalpSupport;
- uint8_t SataPortsEnable[8];
- uint8_t SataPortsDevSlp[8];
+ uint8_t SataPortsEnable[CONFIG_MAX_SATA_PORTS];
+ uint8_t SataPortsDevSlp[CONFIG_MAX_SATA_PORTS];
+ /*
+ * Enable(0)/Disable(1) SATA Power Optimizer on PCH side.
+ * Default 0. Setting this to 1 disables the SATA Power Optimizer.
+ */
+ uint8_t SataPwrOptimizeDisable;
+ /*
+ * SATA Port Enable Dito Config.
+ * Enable DEVSLP Idle Timeout settings (DmVal, DitoVal).
+ */
+ uint8_t SataPortsEnableDitoConfig[CONFIG_MAX_SATA_PORTS];
+ /* SataPortsDmVal is the DITO multiplier. Default is 15. */
+ uint8_t SataPortsDmVal[CONFIG_MAX_SATA_PORTS];
+ /* SataPortsDitoVal is the DEVSLP Idle Timeout, default is 625ms */
+ uint16_t SataPortsDitoVal[CONFIG_MAX_SATA_PORTS];
/* Audio related */
uint8_t PchHdaDspEnable;
@@ -135,6 +149,7 @@ struct soc_intel_elkhartlake_config {
/* eMMC and SD */
uint8_t ScsEmmcHs400Enabled;
+ uint8_t ScsEmmcDdr50Enabled;
/* Enable if SD Card Power Enable Signal is Active High */
uint8_t SdCardPowerEnableActiveHigh;