aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/icelake/chip.h
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2018-11-20 13:20:31 +0530
committerSubrata Banik <subrata.banik@intel.com>2018-11-22 02:26:33 +0000
commit26d706bb333827c983abf7d734ce5af621d7adeb (patch)
tree186347a0a9e64b0e0b2b474f8fe5148b856ce417 /src/soc/intel/icelake/chip.h
parentdd4ef173f1082f670ad6302bf93d37cc57f8b043 (diff)
soc/intel/icelake: Create macros for FSP consumption
1. Modify PCIEXBAR to accomodate Type-C Root Port 2. LPSS device mode selection Change-Id: Ib7e4bc304f93e4b63ac2d7f194ca441dd96dd943 Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/c/29697 Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/icelake/chip.h')
-rw-r--r--src/soc/intel/icelake/chip.h63
1 files changed, 37 insertions, 26 deletions
diff --git a/src/soc/intel/icelake/chip.h b/src/soc/intel/icelake/chip.h
index cb06fcb06a..c8653b2f8e 100644
--- a/src/soc/intel/icelake/chip.h
+++ b/src/soc/intel/icelake/chip.h
@@ -152,11 +152,16 @@ struct soc_intel_icelake_config {
/* eMMC and SD */
uint8_t ScsEmmcHs400Enabled;
/* Need to update DLL setting to get Emmc running at HS400 speed */
- uint8_t EmmcHs400DllNeed;
- /* 0-39: number of active delay for RX strobe, unit is 125 psec */
- uint8_t EmmcHs400RxStrobeDll1;
- /* 0-78: number of active delay for TX data, unit is 125 psec */
- uint8_t EmmcHs400TxDataDll;
+ uint8_t EmmcUseCustomDlls;
+ uint32_t EmmcTxCmdDelayRegValue;
+ uint32_t EmmcTxDataDelay1RegValue;
+ uint32_t EmmcTxDataDelay2RegValue;
+ uint32_t EmmcRxCmdDataDelay1RegValue;
+ uint32_t EmmcRxCmdDataDelay2RegValue;
+ uint32_t EmmcRxStrobeDelayRegValue;
+
+ /* Enable if SD Card Power Enable Signal is Active High */
+ uint8_t SdCardPowerEnableActiveHigh;
/* Integrated Sensor */
uint8_t PchIshEnable;
@@ -219,28 +224,27 @@ struct soc_intel_icelake_config {
} DebugConsent;
/*
* SerialIO device mode selection:
- *
- * Device index:
- * PchSerialIoIndexI2C0
- * PchSerialIoIndexI2C1
- * PchSerialIoIndexI2C2
- * PchSerialIoIndexI2C3
- * PchSerialIoIndexI2C4
- * PchSerialIoIndexI2C5
- * PchSerialIoIndexSPI0
- * PchSerialIoIndexSPI1
- * PchSerialIoIndexSPI2
- * PchSerialIoIndexUART0
- * PchSerialIoIndexUART1
- * PchSerialIoIndexUART2
- *
- * Mode select:
- * PchSerialIoDisabled
- * PchSerialIoPci
- * PchSerialIoAcpi
- * PchSerialIoHidden
+ * PchSerialIoDisabled,
+ * PchSerialIoPci,
+ * PchSerialIoHidden,
+ * PchSerialIoLegacyUart,
+ * PchSerialIoSkipInit
+ */
+ uint8_t SerialIoI2cMode[CONFIG_SOC_INTEL_I2C_DEV_MAX];
+ uint8_t SerialIoGSpiMode[CONFIG_SOC_INTEL_COMMON_BLOCK_GSPI_MAX];
+ uint8_t SerialIoUartMode[CONFIG_SOC_INTEL_UART_DEV_MAX];
+ /*
+ * GSPIn Default Chip Select Mode:
+ * 0:Hardware Mode,
+ * 1:Software Mode
*/
- uint8_t SerialIoDevMode[PchSerialIoIndexMAX];
+ uint8_t SerialIoGSpiCsMode[CONFIG_SOC_INTEL_COMMON_BLOCK_GSPI_MAX];
+ /*
+ * GSPIn Default Chip Select State:
+ * 0: Low,
+ * 1: High
+ */
+ uint8_t SerialIoGSpiCsState[CONFIG_SOC_INTEL_COMMON_BLOCK_GSPI_MAX];
/* GPIO SD card detect pin */
unsigned int sdcard_cd_gpio;
@@ -251,6 +255,13 @@ struct soc_intel_icelake_config {
/* Intel VT configuration */
uint8_t VtdDisable;
uint8_t VmxEnable;
+
+ /* CNVi BT Audio Offload: Enable/Disable BT Audio Offload. */
+ enum {
+ PLATFORM_POR,
+ FORCE_ENABLE,
+ FORCE_DISABLE,
+ } CnviBtAudioOffload;
};
typedef struct soc_intel_icelake_config config_t;