Skip to content

Commit 6356437

Browse files
zonquebroonie
authored andcommitted
spi: spi-pxa2xx: remove legacy PXA DMA bits
Generic DMA support was already implemented by commit cd7bed0 ("spi/pxa2xx: break out the private DMA API usage into a separate file") which moved all the legacy PXA DMA implementation code into its own file. With generic DMA available for PXA, we can now just trash this file. Signed-off-by: Daniel Mack <zonque@gmail.com> Acked-by: Mark Brown <broonie@linaro.org> [respin after pxa dmaengine support upstream] Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 82ba2c2 commit 6356437

4 files changed

Lines changed: 2 additions & 501 deletions

File tree

‎drivers/spi/Kconfig‎

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -393,16 +393,9 @@ config SPI_PPC4xx
393393
help
394394
This selects a driver for the PPC4xx SPI Controller.
395395

396-
config SPI_PXA2XX_PXADMA
397-
bool "PXA2xx SSP legacy PXA DMA API support"
398-
depends on SPI_PXA2XX && ARCH_PXA
399-
help
400-
Enable PXA private legacy DMA API support. Note that this is
401-
deprecated in favor of generic DMA engine API.
402-
403396
config SPI_PXA2XX_DMA
404397
def_bool y
405-
depends on SPI_PXA2XX && !SPI_PXA2XX_PXADMA
398+
depends on SPI_PXA2XX
406399

407400
config SPI_PXA2XX
408401
tristate "PXA2xx SSP SPI master"

‎drivers/spi/Makefile‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ obj-$(CONFIG_SPI_ORION) += spi-orion.o
6060
obj-$(CONFIG_SPI_PL022) += spi-pl022.o
6161
obj-$(CONFIG_SPI_PPC4xx) += spi-ppc4xx.o
6262
spi-pxa2xx-platform-objs := spi-pxa2xx.o
63-
spi-pxa2xx-platform-$(CONFIG_SPI_PXA2XX_PXADMA) += spi-pxa2xx-pxadma.o
6463
spi-pxa2xx-platform-$(CONFIG_SPI_PXA2XX_DMA) += spi-pxa2xx-dma.o
6564
obj-$(CONFIG_SPI_PXA2XX) += spi-pxa2xx-platform.o
6665
obj-$(CONFIG_SPI_PXA2XX_PCI) += spi-pxa2xx-pci.o

0 commit comments

Comments
 (0)