Skip to contentSkip to conversation

spi-nor: intel-spi: Add support for Intel Comet Lake SPI serial flash

PATCH Superseded Mika Westerberg 2 participants 2 messages Apr 10, 2019 – Apr 15, 2019

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spi-nor: intel-spi: Add support for Intel Comet Lake SPI serial flash

Intel Comet Lake has the same SPI serial flash controller than Ice Lake. Add Comet Lake PCI ID to the driver list of supported devices.

---
 drivers/mtd/spi-nor/intel-spi-pci.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mtd/spi-nor/intel-spi-pci.c +1 -0
index 872b40922608..bfbfc17ed6aa 100644
@@ -63,6 +63,7 @@ static void intel_spi_pci_remove(struct pci_dev *pdev)
 }
 
 static const struct pci_device_id intel_spi_pci_ids[] = {
+	{ PCI_VDEVICE(INTEL, 0x02a4), (unsigned long)&bxt_info },
 	{ PCI_VDEVICE(INTEL, 0x18e0), (unsigned long)&bxt_info },
 	{ PCI_VDEVICE(INTEL, 0x19e0), (unsigned long)&bxt_info },
 	{ PCI_VDEVICE(INTEL, 0x34a4), (unsigned long)&bxt_info },
Signature · 6 lines
2.20.1


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Mika Westerberg

External E-Mail

Intel Comet Lake has the same SPI serial flash controller than Ice Lake.

s/than/as?

Quoted 3 lines

Add Comet Lake PCI ID to the driver list of supported devices.

with that:

Quoted 10 lines
---
 drivers/mtd/spi-nor/intel-spi-pci.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mtd/spi-nor/intel-spi-pci.c +0 -0
index 872b40922608..bfbfc17ed6aa 100644

drivers/mtd/spi-nor/intel-spi-pci.c static void intel_spi_pci_remove(struct pci_dev *pdev) · line 69

Quoted 7 lines
drivers/mtd/spi-nor/intel-spi-pci.c +1 -0
@@ -63,6 +63,7 @@ static void intel_spi_pci_remove(struct pci_dev *pdev)
 }
 
 static const struct pci_device_id intel_spi_pci_ids[] = {
+	{ PCI_VDEVICE(INTEL, 0x02a4), (unsigned long)&bxt_info },
 	{ PCI_VDEVICE(INTEL, 0x18e0), (unsigned long)&bxt_info },
 	{ PCI_VDEVICE(INTEL, 0x19e0), (unsigned long)&bxt_info },
 	{ PCI_VDEVICE(INTEL, 0x34a4), (unsigned long)&bxt_info },

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/