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

Tudor.Ambarus at microchip.com Tudor.Ambarus at microchip.com
Mon Apr 15 02:10:48 PDT 2019



On 04/10/2019 10:39 AM, Mika Westerberg wrote:
> External E-Mail
> 
> 
> Intel Comet Lake has the same SPI serial flash controller than Ice Lake.

s/than/as?

> Add Comet Lake PCI ID to the driver list of supported devices.
> 
> Signed-off-by: Mika Westerberg <mika.westerberg at linux.intel.com>

with that:
Reviewed-by: Tudor Ambarus <tudor.ambarus at microchip.com>
> ---
>  drivers/mtd/spi-nor/intel-spi-pci.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/mtd/spi-nor/intel-spi-pci.c b/drivers/mtd/spi-nor/intel-spi-pci.c
> index 872b40922608..bfbfc17ed6aa 100644
> --- a/drivers/mtd/spi-nor/intel-spi-pci.c
> +++ b/drivers/mtd/spi-nor/intel-spi-pci.c
> @@ -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 },
> 


More information about the linux-mtd mailing list