Subrata Banik has submitted this change. ( https://review.coreboot.org/c/coreboot/+/83511?usp=email )
Change subject: device/pci_ids: Add new Intel PTL device IDs for Fast-SPI and GSPIx ......................................................................
device/pci_ids: Add new Intel PTL device IDs for Fast-SPI and GSPIx
This patch adds new Fast-SPI and GSPIx PCI device IDs for Intel PTL-U and PTL-H.
Additionally, updates the SPI 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: I5c7c0be6f219c93d4520494857d31ce1cf939f36 Signed-off-by: Subrata Banik subratabanik@google.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/83511 Reviewed-by: Eric Lai ericllai@google.com Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Angel Pons th3fanbus@gmail.com --- M src/include/device/pci_ids.h M src/soc/intel/common/block/spi/spi.c 2 files changed, 16 insertions(+), 8 deletions(-)
Approvals: build bot (Jenkins): Verified Eric Lai: Looks good to me, approved Angel Pons: Looks good to me, but someone else must approve
diff --git a/src/include/device/pci_ids.h b/src/include/device/pci_ids.h index 69bfc92..ce27e53 100644 --- a/src/include/device/pci_ids.h +++ b/src/include/device/pci_ids.h @@ -4102,10 +4102,14 @@ #define PCI_DID_INTEL_LNL_GSPI1 0xa830 #define PCI_DID_INTEL_LNL_GSPI2 0xa846
-#define PCI_DID_INTEL_PTL_HWSEQ_SPI 0xe423 -#define PCI_DID_INTEL_PTL_SPI0 0xe427 -#define PCI_DID_INTEL_PTL_SPI1 0xe430 -#define PCI_DID_INTEL_PTL_SPI2 0xe446 +#define PCI_DID_INTEL_PTL_H_HWSEQ_SPI 0xe423 +#define PCI_DID_INTEL_PTL_H_SPI0 0xe427 +#define PCI_DID_INTEL_PTL_H_SPI1 0xe430 +#define PCI_DID_INTEL_PTL_H_SPI2 0xe446 +#define PCI_DID_INTEL_PTL_U_H_HWSEQ_SPI 0xe323 +#define PCI_DID_INTEL_PTL_U_H_SPI0 0xe327 +#define PCI_DID_INTEL_PTL_U_H_SPI1 0xe330 +#define PCI_DID_INTEL_PTL_U_H_SPI2 0xe346
/* Intel IGD device Ids */ #define PCI_DID_INTEL_SKL_GT1F_DT2 0x1902 diff --git a/src/soc/intel/common/block/spi/spi.c b/src/soc/intel/common/block/spi/spi.c index 0e8aa26..74f9e31 100644 --- a/src/soc/intel/common/block/spi/spi.c +++ b/src/soc/intel/common/block/spi/spi.c @@ -123,10 +123,14 @@ };
static const unsigned short pci_device_ids[] = { - PCI_DID_INTEL_PTL_HWSEQ_SPI, - PCI_DID_INTEL_PTL_SPI0, - PCI_DID_INTEL_PTL_SPI1, - PCI_DID_INTEL_PTL_SPI2, + PCI_DID_INTEL_PTL_H_HWSEQ_SPI, + PCI_DID_INTEL_PTL_H_SPI0, + PCI_DID_INTEL_PTL_H_SPI1, + PCI_DID_INTEL_PTL_H_SPI2, + PCI_DID_INTEL_PTL_U_H_HWSEQ_SPI, + PCI_DID_INTEL_PTL_U_H_SPI0, + PCI_DID_INTEL_PTL_U_H_SPI1, + PCI_DID_INTEL_PTL_U_H_SPI2, PCI_DID_INTEL_LNL_GSPI0, PCI_DID_INTEL_LNL_GSPI1, PCI_DID_INTEL_LNL_GSPI2,