From 8745a2743c046352725957c1657514b0d49309a6 Mon Sep 17 00:00:00 2001 From: Maulik V Vaghela Date: Wed, 22 Apr 2020 12:13:40 +0530 Subject: [PATCH] soc/intel/jasperlake: Add new MCH device ids Add new MCH device-ids for jasperlake. Reference is taken from jasperlake EDS volume 1 chapter 13.3. BUG=None BRANCH=None TEST=code compiles and able to boot the platform. Change-Id: I38e09579c9a3681e9168c66085cbb3a092dc30cc Signed-off-by: Maulik V Vaghela Reviewed-on: https://review.coreboot.org/c/coreboot/+/40589 Tested-by: build bot (Jenkins) Reviewed-by: Ronak Kanabar Reviewed-by: Subrata Banik Reviewed-by: V Sowmya Reviewed-by: Aamir Bohra --- src/include/device/pci_ids.h | 3 +++ src/soc/intel/common/block/systemagent/systemagent.c | 3 +++ src/soc/intel/jasperlake/bootblock/report_platform.c | 5 ++++- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/include/device/pci_ids.h b/src/include/device/pci_ids.h index 3de67ca7dd..2ef3aa37d3 100644 --- a/src/include/device/pci_ids.h +++ b/src/include/device/pci_ids.h @@ -3508,6 +3508,9 @@ #define PCI_DEVICE_ID_INTEL_JSL_EHL 0x4532 #define PCI_DEVICE_ID_INTEL_EHL_ID_1 0x4510 #define PCI_DEVICE_ID_INTEL_JSL_ID_1 0x4e22 +#define PCI_DEVICE_ID_INTEL_JSL_ID_2 0x4e26 +#define PCI_DEVICE_ID_INTEL_JSL_ID_3 0x4e12 +#define PCI_DEVICE_ID_INTEL_JSL_ID_4 0x4e14 /* Intel SMBUS device Ids */ #define PCI_DEVICE_ID_INTEL_SPT_LP_SMBUS 0x9d23 diff --git a/src/soc/intel/common/block/systemagent/systemagent.c b/src/soc/intel/common/block/systemagent/systemagent.c index 6c0d5f59a6..d78f86f5e0 100644 --- a/src/soc/intel/common/block/systemagent/systemagent.c +++ b/src/soc/intel/common/block/systemagent/systemagent.c @@ -390,6 +390,9 @@ static const unsigned short systemagent_ids[] = { PCI_DEVICE_ID_INTEL_JSL_EHL, PCI_DEVICE_ID_INTEL_EHL_ID_1, PCI_DEVICE_ID_INTEL_JSL_ID_1, + PCI_DEVICE_ID_INTEL_JSL_ID_2, + PCI_DEVICE_ID_INTEL_JSL_ID_3, + PCI_DEVICE_ID_INTEL_JSL_ID_4, 0 }; diff --git a/src/soc/intel/jasperlake/bootblock/report_platform.c b/src/soc/intel/jasperlake/bootblock/report_platform.c index 663c75818f..9cd3c580f6 100644 --- a/src/soc/intel/jasperlake/bootblock/report_platform.c +++ b/src/soc/intel/jasperlake/bootblock/report_platform.c @@ -26,7 +26,10 @@ static struct { u16 mchid; const char *name; } mch_table[] = { - { PCI_DEVICE_ID_INTEL_JSL_ID_1, "Jasperlake-1" }, + { PCI_DEVICE_ID_INTEL_JSL_ID_1, "Jasperlake SKU4-1" }, + { PCI_DEVICE_ID_INTEL_JSL_ID_2, "Jasperlake SKU4-2" }, + { PCI_DEVICE_ID_INTEL_JSL_ID_3, "Jasperlake SKU2-1" }, + { PCI_DEVICE_ID_INTEL_JSL_ID_4, "Jasperlake SKU2-2" }, }; static struct {