summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
authorTan, Lean Sheng <lean.sheng.tan@intel.com>2020-01-20 19:13:56 -0800
committerPatrick Georgi <pgeorgi@google.com>2020-01-22 15:42:26 +0000
commit26136092c01b8d29fde68058597b74923c21a41f (patch)
treea95aa8cd3df3197a72d56e396dfa9fc86fb301fa /src/soc/intel
parent8406179eff18144cad3584f28554186baf8e1a37 (diff)
soc/intel/common: Add Elkhartlake Device IDs
Add Elkhartlake CPU, SA and PCH IDs. EHL PCH is code named as MCC. Also add a MCH ID (JSL_EHL) which is shared by both JSL and EHL SKUs. Signed-off-by: Lean Sheng Tan <lean.sheng.tan@intel.com> Change-Id: I03f15832143bcc3095a3936c65fbc30a95e7f0f6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/38489 Reviewed-by: Subrata Banik <subrata.banik@intel.com> Reviewed-by: Ronak Kanabar <ronak.kanabar@intel.com> Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel')
-rw-r--r--src/soc/intel/common/block/cpu/mp_init.c1
-rw-r--r--src/soc/intel/common/block/cse/cse.c4
-rw-r--r--src/soc/intel/common/block/dsp/dsp.c1
-rw-r--r--src/soc/intel/common/block/graphics/graphics.c6
-rw-r--r--src/soc/intel/common/block/hda/hda.c1
-rw-r--r--src/soc/intel/common/block/i2c/i2c.c8
-rw-r--r--src/soc/intel/common/block/include/intelblocks/mp_init.h1
-rw-r--r--src/soc/intel/common/block/lpc/lpc.c8
-rw-r--r--src/soc/intel/common/block/p2sb/p2sb.c1
-rw-r--r--src/soc/intel/common/block/pcie/pcie.c7
-rw-r--r--src/soc/intel/common/block/pmc/pmc.c1
-rw-r--r--src/soc/intel/common/block/sata/sata.c1
-rw-r--r--src/soc/intel/common/block/scs/sd.c1
-rw-r--r--src/soc/intel/common/block/smbus/smbus.c1
-rw-r--r--src/soc/intel/common/block/spi/spi.c4
-rw-r--r--src/soc/intel/common/block/sram/sram.c1
-rw-r--r--src/soc/intel/common/block/systemagent/systemagent.c2
-rw-r--r--src/soc/intel/common/block/uart/uart.c3
-rw-r--r--src/soc/intel/common/block/xdci/xdci.c1
-rw-r--r--src/soc/intel/common/block/xhci/xhci.c1
-rw-r--r--src/soc/intel/tigerlake/bootblock/report_platform.c13
21 files changed, 67 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/cpu/mp_init.c b/src/soc/intel/common/block/cpu/mp_init.c
index 721e42c03c..f3c6c7d573 100644
--- a/src/soc/intel/common/block/cpu/mp_init.c
+++ b/src/soc/intel/common/block/cpu/mp_init.c
@@ -87,6 +87,7 @@ static const struct cpu_device_id cpu_table[] = {
{ X86_VENDOR_INTEL, CPUID_COMETLAKE_H_S_10_2_P0 },
{ X86_VENDOR_INTEL, CPUID_COMETLAKE_H_S_10_2_Q0_P1 },
{ X86_VENDOR_INTEL, CPUID_TIGERLAKE_A0 },
+ { X86_VENDOR_INTEL, CPUID_ELKHARTLAKE_A0 },
{ 0, 0 },
};
diff --git a/src/soc/intel/common/block/cse/cse.c b/src/soc/intel/common/block/cse/cse.c
index 0f50cc19b0..4b9d1a4030 100644
--- a/src/soc/intel/common/block/cse/cse.c
+++ b/src/soc/intel/common/block/cse/cse.c
@@ -740,6 +740,10 @@ static const unsigned short pci_device_ids[] = {
PCI_DEVICE_ID_INTEL_CMP_H_CSE0,
PCI_DEVICE_ID_INTEL_TGL_CSE0,
PCI_DEVICE_ID_INTEL_JSP_PRE_PROD_CSE0,
+ PCI_DEVICE_ID_INTEL_MCC_CSE0,
+ PCI_DEVICE_ID_INTEL_MCC_CSE1,
+ PCI_DEVICE_ID_INTEL_MCC_CSE2,
+ PCI_DEVICE_ID_INTEL_MCC_CSE3,
0,
};
diff --git a/src/soc/intel/common/block/dsp/dsp.c b/src/soc/intel/common/block/dsp/dsp.c
index 306003b3c9..78f43a036e 100644
--- a/src/soc/intel/common/block/dsp/dsp.c
+++ b/src/soc/intel/common/block/dsp/dsp.c
@@ -37,6 +37,7 @@ static const unsigned short pci_device_ids[] = {
PCI_DEVICE_ID_INTEL_ICL_AUDIO,
PCI_DEVICE_ID_INTEL_TGL_AUDIO,
PCI_DEVICE_ID_INTEL_JSP_PRE_PROD_AUDIO,
+ PCI_DEVICE_ID_INTEL_MCC_AUDIO,
0,
};
diff --git a/src/soc/intel/common/block/graphics/graphics.c b/src/soc/intel/common/block/graphics/graphics.c
index 98730590e1..6c1436a281 100644
--- a/src/soc/intel/common/block/graphics/graphics.c
+++ b/src/soc/intel/common/block/graphics/graphics.c
@@ -220,6 +220,12 @@ static const unsigned short pci_device_ids[] = {
PCI_DEVICE_ID_INTEL_TGL_GT2_ULX,
PCI_DEVICE_ID_INTEL_TGL_GT3_ULT,
PCI_DEVICE_ID_INTEL_JSL_PRE_PROD_GT0,
+ PCI_DEVICE_ID_INTEL_EHL_GT1_1,
+ PCI_DEVICE_ID_INTEL_EHL_GT2_1,
+ PCI_DEVICE_ID_INTEL_EHL_GT1_2,
+ PCI_DEVICE_ID_INTEL_EHL_GT2_2,
+ PCI_DEVICE_ID_INTEL_EHL_GT1_3,
+ PCI_DEVICE_ID_INTEL_EHL_GT2_3,
0,
};
diff --git a/src/soc/intel/common/block/hda/hda.c b/src/soc/intel/common/block/hda/hda.c
index 12aa1051e6..632cfcc1b6 100644
--- a/src/soc/intel/common/block/hda/hda.c
+++ b/src/soc/intel/common/block/hda/hda.c
@@ -84,6 +84,7 @@ static const unsigned short pci_device_ids[] = {
PCI_DEVICE_ID_INTEL_CMP_H_AUDIO,
PCI_DEVICE_ID_INTEL_BSW_AUDIO,
PCI_DEVICE_ID_INTEL_TGL_AUDIO,
+ PCI_DEVICE_ID_INTEL_MCC_AUDIO,
0
};
diff --git a/src/soc/intel/common/block/i2c/i2c.c b/src/soc/intel/common/block/i2c/i2c.c
index ffcc4a6e99..ca854a9720 100644
--- a/src/soc/intel/common/block/i2c/i2c.c
+++ b/src/soc/intel/common/block/i2c/i2c.c
@@ -255,6 +255,14 @@ static const unsigned short pci_device_ids[] = {
PCI_DEVICE_ID_INTEL_JSP_PRE_PROD_I2C3,
PCI_DEVICE_ID_INTEL_JSP_PRE_PROD_I2C4,
PCI_DEVICE_ID_INTEL_JSP_PRE_PROD_I2C5,
+ PCI_DEVICE_ID_INTEL_MCC_I2C0,
+ PCI_DEVICE_ID_INTEL_MCC_I2C1,
+ PCI_DEVICE_ID_INTEL_MCC_I2C2,
+ PCI_DEVICE_ID_INTEL_MCC_I2C3,
+ PCI_DEVICE_ID_INTEL_MCC_I2C4,
+ PCI_DEVICE_ID_INTEL_MCC_I2C5,
+ PCI_DEVICE_ID_INTEL_MCC_I2C6,
+ PCI_DEVICE_ID_INTEL_MCC_I2C7,
0,
};
diff --git a/src/soc/intel/common/block/include/intelblocks/mp_init.h b/src/soc/intel/common/block/include/intelblocks/mp_init.h
index aaf1793a14..e0b0d8c174 100644
--- a/src/soc/intel/common/block/include/intelblocks/mp_init.h
+++ b/src/soc/intel/common/block/include/intelblocks/mp_init.h
@@ -54,6 +54,7 @@
#define CPUID_COMETLAKE_H_S_10_2_P0 0xa0651
#define CPUID_COMETLAKE_H_S_10_2_Q0_P1 0xa0654
#define CPUID_TIGERLAKE_A0 0x806c0
+#define CPUID_ELKHARTLAKE_A0 0x90660
/*
* MP Init callback function to Find CPU Topology. This function is common
diff --git a/src/soc/intel/common/block/lpc/lpc.c b/src/soc/intel/common/block/lpc/lpc.c
index 9e86486dcf..8493d93786 100644
--- a/src/soc/intel/common/block/lpc/lpc.c
+++ b/src/soc/intel/common/block/lpc/lpc.c
@@ -226,6 +226,14 @@ static const unsigned short pci_device_ids[] = {
PCI_DEVICE_ID_INTEL_TGP_ESPI_26,
PCI_DEVICE_ID_INTEL_JSP_PRE_PROD_ESPI_1,
PCI_DEVICE_ID_INTEL_JSP_PRE_PROD_ESPI_2,
+ PCI_DEVICE_ID_INTEL_MCC_ESPI_0,
+ PCI_DEVICE_ID_INTEL_MCC_ESPI_1,
+ PCI_DEVICE_ID_INTEL_MCC_BASE_ESPI,
+ PCI_DEVICE_ID_INTEL_MCC_PREMIUM_ESPI,
+ PCI_DEVICE_ID_INTEL_MCC_SUPER_ESPI,
+ PCI_DEVICE_ID_INTEL_MCC_ESPI_2,
+ PCI_DEVICE_ID_INTEL_MCC_ESPI_3,
+ PCI_DEVICE_ID_INTEL_MCC_ESPI_4,
0
};
diff --git a/src/soc/intel/common/block/p2sb/p2sb.c b/src/soc/intel/common/block/p2sb/p2sb.c
index 4bfb955143..34b6e06cb5 100644
--- a/src/soc/intel/common/block/p2sb/p2sb.c
+++ b/src/soc/intel/common/block/p2sb/p2sb.c
@@ -182,6 +182,7 @@ static const unsigned short pci_device_ids[] = {
PCI_DEVICE_ID_INTEL_CMP_H_P2SB,
PCI_DEVICE_ID_INTEL_TGL_P2SB,
PCI_DEVICE_ID_INTEL_JSP_PRE_PROD_P2SB,
+ PCI_DEVICE_ID_INTEL_EHL_P2SB,
0,
};
diff --git a/src/soc/intel/common/block/pcie/pcie.c b/src/soc/intel/common/block/pcie/pcie.c
index ce43d3400e..eab6667b7f 100644
--- a/src/soc/intel/common/block/pcie/pcie.c
+++ b/src/soc/intel/common/block/pcie/pcie.c
@@ -298,6 +298,13 @@ static const unsigned short pcie_device_ids[] = {
PCI_DEVICE_ID_INTEL_JSP_PRE_PROD_PCIE_RP6,
PCI_DEVICE_ID_INTEL_JSP_PRE_PROD_PCIE_RP7,
PCI_DEVICE_ID_INTEL_JSP_PRE_PROD_PCIE_RP8,
+ PCI_DEVICE_ID_INTEL_MCC_PCIE_RP1,
+ PCI_DEVICE_ID_INTEL_MCC_PCIE_RP2,
+ PCI_DEVICE_ID_INTEL_MCC_PCIE_RP3,
+ PCI_DEVICE_ID_INTEL_MCC_PCIE_RP4,
+ PCI_DEVICE_ID_INTEL_MCC_PCIE_RP5,
+ PCI_DEVICE_ID_INTEL_MCC_PCIE_RP6,
+ PCI_DEVICE_ID_INTEL_MCC_PCIE_RP7,
0
};
diff --git a/src/soc/intel/common/block/pmc/pmc.c b/src/soc/intel/common/block/pmc/pmc.c
index f3a755bb95..3a9431baed 100644
--- a/src/soc/intel/common/block/pmc/pmc.c
+++ b/src/soc/intel/common/block/pmc/pmc.c
@@ -136,6 +136,7 @@ static const unsigned short pci_device_ids[] = {
PCI_DEVICE_ID_INTEL_CMP_H_PMC,
PCI_DEVICE_ID_INTEL_TGP_PMC,
PCI_DEVICE_ID_INTEL_JSP_PRE_PROD_PMC,
+ PCI_DEVICE_ID_INTEL_MCC_PMC,
0
};
diff --git a/src/soc/intel/common/block/sata/sata.c b/src/soc/intel/common/block/sata/sata.c
index 40ffb210a2..cb12ad3e2c 100644
--- a/src/soc/intel/common/block/sata/sata.c
+++ b/src/soc/intel/common/block/sata/sata.c
@@ -104,6 +104,7 @@ static const unsigned short pci_device_ids[] = {
PCI_DEVICE_ID_INTEL_TGP_PREMIUM_SATA,
PCI_DEVICE_ID_INTEL_TGP_COMPAT_SATA,
PCI_DEVICE_ID_INTEL_JSP_PRE_PROD_SATA,
+ PCI_DEVICE_ID_INTEL_MCC_AHCI_SATA,
0
};
diff --git a/src/soc/intel/common/block/scs/sd.c b/src/soc/intel/common/block/scs/sd.c
index e815287dd6..6b360d5cd1 100644
--- a/src/soc/intel/common/block/scs/sd.c
+++ b/src/soc/intel/common/block/scs/sd.c
@@ -75,6 +75,7 @@ static const unsigned short pci_device_ids[] = {
PCI_DEVICE_ID_INTEL_CMP_SD,
PCI_DEVICE_ID_INTEL_CMP_H_SD,
PCI_DEVICE_ID_INTEL_JSP_PRE_PROD_SD,
+ PCI_DEVICE_ID_INTEL_MCC_SD,
0
};
diff --git a/src/soc/intel/common/block/smbus/smbus.c b/src/soc/intel/common/block/smbus/smbus.c
index a99efafe85..44b216562b 100644
--- a/src/soc/intel/common/block/smbus/smbus.c
+++ b/src/soc/intel/common/block/smbus/smbus.c
@@ -98,6 +98,7 @@ static const unsigned short pci_device_ids[] = {
PCI_DEVICE_ID_INTEL_CMP_H_SMBUS,
PCI_DEVICE_ID_INTEL_TGP_LP_SMBUS,
PCI_DEVICE_ID_INTEL_JSP_PRE_PROD_SMBUS,
+ PCI_DEVICE_ID_INTEL_MCC_SMBUS,
0
};
diff --git a/src/soc/intel/common/block/spi/spi.c b/src/soc/intel/common/block/spi/spi.c
index 5ce400870d..95981be7eb 100644
--- a/src/soc/intel/common/block/spi/spi.c
+++ b/src/soc/intel/common/block/spi/spi.c
@@ -97,6 +97,10 @@ static const unsigned short pci_device_ids[] = {
PCI_DEVICE_ID_INTEL_JSP_PRE_PROD_SPI1,
PCI_DEVICE_ID_INTEL_JSP_PRE_PROD_SPI2,
PCI_DEVICE_ID_INTEL_JSP_PRE_PROD_HWSEQ_SPI,
+ PCI_DEVICE_ID_INTEL_MCC_SPI0,
+ PCI_DEVICE_ID_INTEL_MCC_GSPI0,
+ PCI_DEVICE_ID_INTEL_MCC_GSPI1,
+ PCI_DEVICE_ID_INTEL_MCC_GSPI2,
0
};
diff --git a/src/soc/intel/common/block/sram/sram.c b/src/soc/intel/common/block/sram/sram.c
index a994235588..6498d4010e 100644
--- a/src/soc/intel/common/block/sram/sram.c
+++ b/src/soc/intel/common/block/sram/sram.c
@@ -54,6 +54,7 @@ static const unsigned short pci_device_ids[] = {
PCI_DEVICE_ID_INTEL_CMP_H_SRAM,
PCI_DEVICE_ID_INTEL_TGL_SRAM,
PCI_DEVICE_ID_INTEL_JSP_PRE_PROD_SRAM,
+ PCI_DEVICE_ID_INTEL_MCC_SRAM,
0,
};
diff --git a/src/soc/intel/common/block/systemagent/systemagent.c b/src/soc/intel/common/block/systemagent/systemagent.c
index 50e052414a..4c7d8c8137 100644
--- a/src/soc/intel/common/block/systemagent/systemagent.c
+++ b/src/soc/intel/common/block/systemagent/systemagent.c
@@ -400,6 +400,8 @@ static const unsigned short systemagent_ids[] = {
PCI_DEVICE_ID_INTEL_TGL_ID_U_1,
PCI_DEVICE_ID_INTEL_TGL_ID_Y,
PCI_DEVICE_ID_INTEL_JSL_PRE_PROD,
+ PCI_DEVICE_ID_INTEL_JSL_EHL,
+ PCI_DEVICE_ID_INTEL_EHL_ID_1,
0
};
diff --git a/src/soc/intel/common/block/uart/uart.c b/src/soc/intel/common/block/uart/uart.c
index bcb04ac85a..08c0090b21 100644
--- a/src/soc/intel/common/block/uart/uart.c
+++ b/src/soc/intel/common/block/uart/uart.c
@@ -284,6 +284,9 @@ static const unsigned short pci_device_ids[] = {
PCI_DEVICE_ID_INTEL_JSP_PRE_PROD_UART0,
PCI_DEVICE_ID_INTEL_JSP_PRE_PROD_UART1,
PCI_DEVICE_ID_INTEL_JSP_PRE_PROD_UART2,
+ PCI_DEVICE_ID_INTEL_MCC_UART0,
+ PCI_DEVICE_ID_INTEL_MCC_UART1,
+ PCI_DEVICE_ID_INTEL_MCC_UART2,
0,
};
diff --git a/src/soc/intel/common/block/xdci/xdci.c b/src/soc/intel/common/block/xdci/xdci.c
index 2296f9f770..5b70f9d9b8 100644
--- a/src/soc/intel/common/block/xdci/xdci.c
+++ b/src/soc/intel/common/block/xdci/xdci.c
@@ -45,6 +45,7 @@ static const unsigned short pci_device_ids[] = {
PCI_DEVICE_ID_INTEL_CMP_LP_XDCI,
PCI_DEVICE_ID_INTEL_CMP_H_XDCI,
PCI_DEVICE_ID_INTEL_TGP_LP_XDCI,
+ PCI_DEVICE_ID_INTEL_MCC_XDCI,
0
};
diff --git a/src/soc/intel/common/block/xhci/xhci.c b/src/soc/intel/common/block/xhci/xhci.c
index e6a7e0db85..4b8a5cc1ec 100644
--- a/src/soc/intel/common/block/xhci/xhci.c
+++ b/src/soc/intel/common/block/xhci/xhci.c
@@ -134,6 +134,7 @@ static const unsigned short pci_device_ids[] = {
PCI_DEVICE_ID_INTEL_CMP_H_XHCI,
PCI_DEVICE_ID_INTEL_TGP_LP_XHCI,
PCI_DEVICE_ID_INTEL_JSP_PRE_PROD_XHCI,
+ PCI_DEVICE_ID_INTEL_MCC_XHCI,
0
};
diff --git a/src/soc/intel/tigerlake/bootblock/report_platform.c b/src/soc/intel/tigerlake/bootblock/report_platform.c
index 3d856a5039..127994d540 100644
--- a/src/soc/intel/tigerlake/bootblock/report_platform.c
+++ b/src/soc/intel/tigerlake/bootblock/report_platform.c
@@ -48,6 +48,8 @@ static struct {
{ PCI_DEVICE_ID_INTEL_TGL_ID_U_1, "Tigerlake-U-4-3e" },
{ PCI_DEVICE_ID_INTEL_TGL_ID_Y, "Tigerlake-Y-4-2" },
{ PCI_DEVICE_ID_INTEL_JSL_PRE_PROD, "Jasperlake Pre Prod" },
+ { PCI_DEVICE_ID_INTEL_JSL_EHL, "Jasperlake Elkhartlake" },
+ { PCI_DEVICE_ID_INTEL_EHL_ID_1, "Elkhartlake-1" },
};
static struct {
@@ -88,6 +90,11 @@ static struct {
{ PCI_DEVICE_ID_INTEL_TGP_ESPI_26, "Tigerlake-Base SKU" },
{ PCI_DEVICE_ID_INTEL_JSP_PRE_PROD_ESPI_1, "Jasperlake Pre Prod" },
{ PCI_DEVICE_ID_INTEL_JSP_PRE_PROD_ESPI_2, "Jasperlake Pre Prod" },
+ { PCI_DEVICE_ID_INTEL_MCC_ESPI_0, "Elkhartlake-0" },
+ { PCI_DEVICE_ID_INTEL_MCC_ESPI_1, "Elkhartlake-1" },
+ { PCI_DEVICE_ID_INTEL_MCC_BASE_ESPI, "Elkhartlake Base" },
+ { PCI_DEVICE_ID_INTEL_MCC_PREMIUM_ESPI, "Elkhartlake Premium" },
+ { PCI_DEVICE_ID_INTEL_MCC_SUPER_ESPI, "Elkhartlake Super" },
};
static struct {
@@ -99,6 +106,12 @@ static struct {
{ PCI_DEVICE_ID_INTEL_TGL_GT2_ULX, "Tigerlake Y GT2" },
{ PCI_DEVICE_ID_INTEL_TGL_GT3_ULT, "Tigerlake U GT3" },
{ PCI_DEVICE_ID_INTEL_JSL_PRE_PROD_GT0, "Jasperlake Pre Prod GT0" },
+ { PCI_DEVICE_ID_INTEL_EHL_GT1_1, "Elkhartlake GT1 1" },
+ { PCI_DEVICE_ID_INTEL_EHL_GT2_1, "Elkhartlake GT2 1" },
+ { PCI_DEVICE_ID_INTEL_EHL_GT1_2, "Elkhartlake GT1 2" },
+ { PCI_DEVICE_ID_INTEL_EHL_GT2_2, "Elkhartlake GT2 2" },
+ { PCI_DEVICE_ID_INTEL_EHL_GT1_3, "Elkhartlake GT1 3" },
+ { PCI_DEVICE_ID_INTEL_EHL_GT2_3, "Elkhartlake GT2 3" },
};
static inline uint8_t get_dev_revision(pci_devfn_t dev)