Subrata Banik has uploaded this change for review.

View Change

device/pci_ids: Add new Intel PTL device IDs for SRAM

This patch adds new SRAM PCI device IDs for Intel PTL-U
and PTL-H.

Additionally, updates the SRAM driver's `pci_device_ids` list to
include these new IDs.

Source: Intel PTL-EDS vol 1. Document Number 815002, Rev 0.51 Chapter 2

BUG=b:347669091
TEST=Able to build google/fatcat.

Change-Id: Ib6d62dad59965258dab453533dface9c359de586
Signed-off-by: Subrata Banik <subratabanik@google.com>
---
M src/include/device/pci_ids.h
M src/soc/intel/common/block/sram/sram.c
2 files changed, 4 insertions(+), 2 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/15/83515/1
diff --git a/src/include/device/pci_ids.h b/src/include/device/pci_ids.h
index bff412c..25d5588 100644
--- a/src/include/device/pci_ids.h
+++ b/src/include/device/pci_ids.h
@@ -4549,7 +4549,8 @@
#define PCI_DID_INTEL_MTL_IOE_M_SRAM 0x7ebf
#define PCI_DID_INTEL_MTL_IOE_P_SRAM 0x7ecf
#define PCI_DID_INTEL_LNL_SRAM 0xa87f
-#define PCI_DID_INTEL_PTL_SRAM 0xe47f
+#define PCI_DID_INTEL_PTL_H_SRAM 0xe47f
+#define PCI_DID_INTEL_PTL_U_H_SRAM 0xe37f

/* Intel AUDIO device Ids */
#define PCI_DID_INTEL_LPT_H_AUDIO 0x8c20
diff --git a/src/soc/intel/common/block/sram/sram.c b/src/soc/intel/common/block/sram/sram.c
index 649a6c6..e63f805 100644
--- a/src/soc/intel/common/block/sram/sram.c
+++ b/src/soc/intel/common/block/sram/sram.c
@@ -33,7 +33,8 @@
};

static const unsigned short pci_device_ids[] = {
- PCI_DID_INTEL_PTL_SRAM,
+ PCI_DID_INTEL_PTL_H_SRAM,
+ PCI_DID_INTEL_PTL_U_H_SRAM,
PCI_DID_INTEL_LNL_SRAM,
PCI_DID_INTEL_MTL_SOC_SRAM,
PCI_DID_INTEL_MTL_IOE_M_SRAM,

To view, visit change 83515. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ib6d62dad59965258dab453533dface9c359de586
Gerrit-Change-Number: 83515
Gerrit-PatchSet: 1
Gerrit-Owner: Subrata Banik <subratabanik@google.com>