Skip to contentSkip to conversation

mtd: spi-nor: intel-spi: Add support for Intel Lewisburg SPI serial flash

PATCH Applied Mika Westerberg 2 participants 4 messages Sep 21, 2017 – Oct 10, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 mtd: spi-nor: intel-spi: Add support for Intel Lewisburg SPI serial flash

Intel Lewisburg chipset exposes the SPI serial flash controller as a PCI device in the same way than Intel Denverton. Add Intel Lewisburg SPI serial flash 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 e82652335ede..7fa5b81b0d88 100644
@@ -64,6 +64,7 @@ static void intel_spi_pci_remove(struct pci_dev *pdev)
 
 static const struct pci_device_id intel_spi_pci_ids[] = {
 	{ PCI_VDEVICE(INTEL, 0x19e0), (unsigned long)&bxt_info },
+	{ PCI_VDEVICE(INTEL, 0xa1a4), (unsigned long)&bxt_info },
 	{ },
 };
 MODULE_DEVICE_TABLE(pci, intel_spi_pci_ids);
Signature · 1 line
2.14.1
#1 lore raw

PATCH 2/2 mtd: spi-nor: intel-spi: Add support for Intel Cedar Fork SPI serial flash

Intel Cedar Fork has the same SPI serial flash controller than Intel Denverton. Add the Intel Cedar Fork 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 7fa5b81b0d88..a5a5c5897aad 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, 0x18e0), (unsigned long)&bxt_info },
 	{ PCI_VDEVICE(INTEL, 0x19e0), (unsigned long)&bxt_info },
 	{ PCI_VDEVICE(INTEL, 0xa1a4), (unsigned long)&bxt_info },
 	{ },
Signature · 1 line
2.14.1
#2 lore raw

Re: [PATCH 2/2] mtd: spi-nor: intel-spi: Add support for Intel Cedar Fork SPI serial flash

Le 21/09/2017 à 15:19, Mika Westerberg a écrit :

Quoted 5 lines

Intel Cedar Fork has the same SPI serial flash controller than Intel Denverton. Add the Intel Cedar Fork PCI ID to the driver list of supported devices.

Applied to the spi-nor/next branch of l2-mtd

Thanks!

Quoted 17 lines
---
 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 7fa5b81b0d88..a5a5c5897aad 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, 0x18e0), (unsigned long)&bxt_info },
 	{ PCI_VDEVICE(INTEL, 0x19e0), (unsigned long)&bxt_info },
 	{ PCI_VDEVICE(INTEL, 0xa1a4), (unsigned long)&bxt_info },
 	{ },
#3 lore raw
In reply to Mika Westerberg

Le 21/09/2017 à 15:19, Mika Westerberg a écrit :

Quoted 5 lines

Intel Lewisburg chipset exposes the SPI serial flash controller as a PCI device in the same way than Intel Denverton. Add Intel Lewisburg SPI serial flash PCI ID to the driver list of supported devices.

Applied to the spi-nor/next branch of l2-mtd

Thanks!

Quoted 17 lines
---
 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 e82652335ede..7fa5b81b0d88 100644
@@ -64,6 +64,7 @@ static void intel_spi_pci_remove(struct pci_dev *pdev)
 
 static const struct pci_device_id intel_spi_pci_ids[] = {
 	{ PCI_VDEVICE(INTEL, 0x19e0), (unsigned long)&bxt_info },
+	{ PCI_VDEVICE(INTEL, 0xa1a4), (unsigned long)&bxt_info },
 	{ },
 };
 MODULE_DEVICE_TABLE(pci, intel_spi_pci_ids);