OSDN Git Service

spi-nor: intel-spi: Add support for Intel Comet Lake SPI serial flash
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 16 Apr 2019 09:11:10 +0000 (12:11 +0300)
committerTudor Ambarus <tudor.ambarus@microchip.com>
Mon, 6 May 2019 08:18:02 +0000 (11:18 +0300)
Intel Comet Lake has the same SPI serial flash controller as Ice Lake.
Add Comet Lake PCI ID to the driver list of supported devices.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
drivers/mtd/spi-nor/intel-spi-pci.c

index 872b409..bfbfc17 100644 (file)
@@ -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 },