]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
mtd: spi-nor: intel-spi: Add support for Intel Comet Lake-H SPI serial flash
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 14 Nov 2019 15:11:46 +0000 (23:11 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 5 Dec 2019 22:30:18 +0000 (16:30 -0600)
BugLink: https://bugs.launchpad.net/bugs/1846335
Intel Comet Lake-H PCH has the same SPI serial flash controller as Comet
Lake-LP. Add Comet Lake-H PCI ID to the driver list of supported devices.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
(cherry picked from commit 5a0feb6287e37018af4cbd7754786522ae712980 linux-next)
Signed-off-by: You-Sheng Yang <vicamo@gmail.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/mtd/spi-nor/intel-spi-pci.c

index 3cda8e7a68f8167437cc7397f68a6743836ee8b1..266e5efc177130502001a8bfafd0eb47bcc6479d 100644 (file)
@@ -61,6 +61,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, 0x06a4), (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 },