summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
authorSridhar Siricilla <sridhar.siricilla@intel.com>2022-11-14 08:47:34 +0530
committerFelix Held <felix-coreboot@felixheld.de>2022-11-18 15:45:56 +0000
commitce4dc66319809fb9002ceb8df9c96894df26709f (patch)
tree7d5e4138f9ed787d1e94439d06657ee9a9c3ee70 /src/soc/intel
parent1c6b02a8b60470a94301e3034707af88b9980c96 (diff)
soc/intel/meteorlake: Add Meteor Lake MCH device ID
Add Meteor Lake MCH device ID 0x7d15. TEST=Build and verify boot on MTL RVP With patch, coreboot log: `[DEBUG] MCH: device id 7d15 (rev 00) is Meteorlake P` Signed-off-by: Sridhar Siricilla <sridhar.siricilla@intel.com> Change-Id: If46b01910239173cd74bf6eebc69a81291b6e15a Reviewed-on: https://review.coreboot.org/c/coreboot/+/69560 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Jamie Ryu <jamie.m.ryu@intel.com> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/soc/intel')
-rw-r--r--src/soc/intel/common/block/systemagent/systemagent.c1
-rw-r--r--src/soc/intel/meteorlake/bootblock/report_platform.c1
-rw-r--r--src/soc/intel/meteorlake/chip.h1
-rw-r--r--src/soc/intel/meteorlake/systemagent.c3
4 files changed, 6 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/systemagent/systemagent.c b/src/soc/intel/common/block/systemagent/systemagent.c
index e74c11856b..90b33358f0 100644
--- a/src/soc/intel/common/block/systemagent/systemagent.c
+++ b/src/soc/intel/common/block/systemagent/systemagent.c
@@ -340,6 +340,7 @@ static const unsigned short systemagent_ids[] = {
PCI_DID_INTEL_MTL_P_ID_1,
PCI_DID_INTEL_MTL_P_ID_2,
PCI_DID_INTEL_MTL_P_ID_3,
+ PCI_DID_INTEL_MTL_P_ID_4,
PCI_DID_INTEL_GLK_NB,
PCI_DID_INTEL_APL_NB,
PCI_DID_INTEL_CNL_ID_U,
diff --git a/src/soc/intel/meteorlake/bootblock/report_platform.c b/src/soc/intel/meteorlake/bootblock/report_platform.c
index 156102d696..982a0c5c8f 100644
--- a/src/soc/intel/meteorlake/bootblock/report_platform.c
+++ b/src/soc/intel/meteorlake/bootblock/report_platform.c
@@ -29,6 +29,7 @@ static struct {
{ PCI_DID_INTEL_MTL_P_ID_1, "MeteorLake P" },
{ PCI_DID_INTEL_MTL_P_ID_2, "MeteorLake P" },
{ PCI_DID_INTEL_MTL_P_ID_3, "MeteorLake P" },
+ { PCI_DID_INTEL_MTL_P_ID_4, "MeteorLake P" },
};
static struct {
diff --git a/src/soc/intel/meteorlake/chip.h b/src/soc/intel/meteorlake/chip.h
index b6e3ab25b1..19b34a205d 100644
--- a/src/soc/intel/meteorlake/chip.h
+++ b/src/soc/intel/meteorlake/chip.h
@@ -22,6 +22,7 @@ enum soc_intel_meteorlake_power_limits {
MTL_P_POWER_LIMITS_1,
MTL_P_POWER_LIMITS_2,
MTL_P_POWER_LIMITS_3,
+ MTL_P_POWER_LIMITS_4,
MTL_POWER_LIMITS_COUNT
};
diff --git a/src/soc/intel/meteorlake/systemagent.c b/src/soc/intel/meteorlake/systemagent.c
index c6c1ada050..c91d3bddcd 100644
--- a/src/soc/intel/meteorlake/systemagent.c
+++ b/src/soc/intel/meteorlake/systemagent.c
@@ -77,6 +77,9 @@ void soc_systemagent_init(struct device *dev)
case PCI_DID_INTEL_MTL_P_ID_3:
soc_config = &config->power_limits_config[MTL_P_POWER_LIMITS_3];
break;
+ case PCI_DID_INTEL_MTL_P_ID_4:
+ soc_config = &config->power_limits_config[MTL_P_POWER_LIMITS_4];
+ break;
default:
printk(BIOS_ERR, "unknown SA ID: 0x%4x, skipping power limits configuration\n",
sa_pci_id);