]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
spi: dw-mid: remove Moorestown support
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 12 Sep 2014 12:11:59 +0000 (15:11 +0300)
committerMark Brown <broonie@kernel.org>
Sat, 13 Sep 2014 16:01:57 +0000 (17:01 +0100)
The support of the Moorestown was removed [1] from kernel long time ago. This
is just a follow up of that change.

[1] http://www.spinics.net/lists/platform-driver-x86/msg02948.html

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/Kconfig
drivers/spi/spi-dw-mid.c

index 62e2242ad7e026bc1d08b78b9b125a70e08386e6..6343df87afb31e5033758cd0510054681867ff3b 100644 (file)
@@ -591,7 +591,7 @@ config SPI_DW_PCI
        depends on SPI_DESIGNWARE && PCI
 
 config SPI_DW_MID_DMA
-       bool "DMA support for DW SPI controller on Intel Moorestown platform"
+       bool "DMA support for DW SPI controller on Intel MID platform"
        depends on SPI_DW_PCI && INTEL_MID_DMAC
 
 config SPI_DW_MMIO
index 0d88e4aab73ea2f7ccc9e90b249c7cb9ac305ea2..deba3c459d68c2ae9e7425fe066b65841ae9bc04 100644 (file)
@@ -50,11 +50,9 @@ static int mid_spi_dma_init(struct dw_spi *dws)
 
        /*
         * Get pci device for DMA controller, currently it could only
-        * be the DMA controller of either Moorestown or Medfield
+        * be the DMA controller of Medfield
         */
-       dws->dmac = pci_get_device(PCI_VENDOR_ID_INTEL, 0x0813, NULL);
-       if (!dws->dmac)
-               dws->dmac = pci_get_device(PCI_VENDOR_ID_INTEL, 0x0827, NULL);
+       dws->dmac = pci_get_device(PCI_VENDOR_ID_INTEL, 0x0827, NULL);
 
        dma_cap_zero(mask);
        dma_cap_set(DMA_SLAVE, mask);
@@ -192,7 +190,7 @@ static struct dw_spi_dma_ops mid_dma_ops = {
 };
 #endif
 
-/* Some specific info for SPI0 controller on Moorestown */
+/* Some specific info for SPI0 controller on Intel MID */
 
 /* HW info for MRST CLk Control Unit, one 32b reg */
 #define MRST_SPI_CLK_BASE      100000000       /* 100m */