mtd: spi-nor: intel-spi: Add support for Intel Lewisburg SPI serial flash
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 21 Sep 2017 13:19:45 +0000 (16:19 +0300)
committerCyrille Pitchen <cyrille.pitchen@wedev4u.fr>
Tue, 10 Oct 2017 16:55:54 +0000 (18:55 +0200)
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.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>
drivers/mtd/spi-nor/intel-spi-pci.c

index e826523..7fa5b81 100644 (file)
@@ -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);