1# SPDX-License-Identifier: GPL-2.0 2#dmaengine debug flags 3subdir-ccflags-$(CONFIG_DMADEVICES_DEBUG) := -DDEBUG 4subdir-ccflags-$(CONFIG_DMADEVICES_VDEBUG) += -DVERBOSE_DEBUG 5 6#core 7obj-$(CONFIG_DMA_ENGINE) += dmaengine.o 8obj-$(CONFIG_DMA_VIRTUAL_CHANNELS) += virt-dma.o 9obj-$(CONFIG_DMA_ACPI) += acpi-dma.o 10obj-$(CONFIG_DMA_OF) += of-dma.o 11 12#dmatest 13obj-$(CONFIG_DMATEST) += dmatest.o 14 15#devices 16obj-$(CONFIG_ALTERA_MSGDMA) += altera-msgdma.o 17obj-$(CONFIG_AMBA_PL08X) += amba-pl08x.o 18obj-$(CONFIG_AMCC_PPC440SPE_ADMA) += ppc4xx/ 19obj-$(CONFIG_AMD_PTDMA) += ptdma/ 20obj-$(CONFIG_APPLE_ADMAC) += apple-admac.o 21obj-$(CONFIG_AT_HDMAC) += at_hdmac.o 22obj-$(CONFIG_AT_XDMAC) += at_xdmac.o 23obj-$(CONFIG_AXI_DMAC) += dma-axi-dmac.o 24obj-$(CONFIG_BCM_SBA_RAID) += bcm-sba-raid.o 25obj-$(CONFIG_DMA_BCM2835) += bcm2835-dma.o 26obj-$(CONFIG_DMA_JZ4780) += dma-jz4780.o 27obj-$(CONFIG_DMA_SA11X0) += sa11x0-dma.o 28obj-$(CONFIG_DMA_SUN4I) += sun4i-dma.o 29obj-$(CONFIG_DMA_SUN6I) += sun6i-dma.o 30obj-$(CONFIG_DW_AXI_DMAC) += dw-axi-dmac/ 31obj-$(CONFIG_DW_DMAC_CORE) += dw/ 32obj-$(CONFIG_DW_EDMA) += dw-edma/ 33obj-$(CONFIG_EP93XX_DMA) += ep93xx_dma.o 34fsl-edma-trace-$(CONFIG_TRACING) := fsl-edma-trace.o 35CFLAGS_fsl-edma-trace.o := -I$(src) 36obj-$(CONFIG_FSL_DMA) += fsldma.o 37fsl-edma-objs := fsl-edma-main.o fsl-edma-common.o ${fsl-edma-trace-y} 38obj-$(CONFIG_FSL_EDMA) += fsl-edma.o 39mcf-edma-objs := mcf-edma-main.o fsl-edma-common.o ${fsl-edma-trace-y} 40obj-$(CONFIG_MCF_EDMA) += mcf-edma.o 41obj-$(CONFIG_FSL_QDMA) += fsl-qdma.o 42obj-$(CONFIG_FSL_RAID) += fsl_raid.o 43obj-$(CONFIG_HISI_DMA) += hisi_dma.o 44obj-$(CONFIG_HSU_DMA) += hsu/ 45obj-$(CONFIG_IMG_MDC_DMA) += img-mdc-dma.o 46obj-$(CONFIG_IMX_DMA) += imx-dma.o 47obj-$(CONFIG_IMX_SDMA) += imx-sdma.o 48obj-$(CONFIG_INTEL_IDMA64) += idma64.o 49obj-$(CONFIG_INTEL_IOATDMA) += ioat/ 50obj-y += idxd/ 51obj-$(CONFIG_K3_DMA) += k3dma.o 52obj-$(CONFIG_LOONGSON1_APB_DMA) += loongson1-apb-dma.o 53obj-$(CONFIG_LPC18XX_DMAMUX) += lpc18xx-dmamux.o 54obj-$(CONFIG_LPC32XX_DMAMUX) += lpc32xx-dmamux.o 55obj-$(CONFIG_LS2X_APB_DMA) += ls2x-apb-dma.o 56obj-$(CONFIG_MILBEAUT_HDMAC) += milbeaut-hdmac.o 57obj-$(CONFIG_MILBEAUT_XDMAC) += milbeaut-xdmac.o 58obj-$(CONFIG_MMP_PDMA) += mmp_pdma.o 59obj-$(CONFIG_MMP_TDMA) += mmp_tdma.o 60obj-$(CONFIG_MOXART_DMA) += moxart-dma.o 61obj-$(CONFIG_MPC512X_DMA) += mpc512x_dma.o 62obj-$(CONFIG_MV_XOR) += mv_xor.o 63obj-$(CONFIG_MV_XOR_V2) += mv_xor_v2.o 64obj-$(CONFIG_MXS_DMA) += mxs-dma.o 65obj-$(CONFIG_NBPFAXI_DMA) += nbpfaxi.o 66obj-$(CONFIG_OWL_DMA) += owl-dma.o 67obj-$(CONFIG_PCH_DMA) += pch_dma.o 68obj-$(CONFIG_PL330_DMA) += pl330.o 69obj-$(CONFIG_PLX_DMA) += plx_dma.o 70obj-$(CONFIG_PPC_BESTCOMM) += bestcomm/ 71obj-$(CONFIG_PXA_DMA) += pxa_dma.o 72obj-$(CONFIG_RENESAS_DMA) += sh/ 73obj-$(CONFIG_SF_PDMA) += sf-pdma/ 74obj-$(CONFIG_STE_DMA40) += ste_dma40.o ste_dma40_ll.o 75obj-$(CONFIG_SPRD_DMA) += sprd-dma.o 76obj-$(CONFIG_TXX9_DMAC) += txx9dmac.o 77obj-$(CONFIG_TEGRA186_GPC_DMA) += tegra186-gpc-dma.o 78obj-$(CONFIG_TEGRA20_APB_DMA) += tegra20-apb-dma.o 79obj-$(CONFIG_TEGRA210_ADMA) += tegra210-adma.o 80obj-$(CONFIG_TIMB_DMA) += timb_dma.o 81obj-$(CONFIG_UNIPHIER_MDMAC) += uniphier-mdmac.o 82obj-$(CONFIG_UNIPHIER_XDMAC) += uniphier-xdmac.o 83obj-$(CONFIG_XGENE_DMA) += xgene-dma.o 84obj-$(CONFIG_ST_FDMA) += st_fdma.o 85obj-$(CONFIG_FSL_DPAA2_QDMA) += fsl-dpaa2-qdma/ 86obj-$(CONFIG_INTEL_LDMA) += lgm/ 87 88obj-y += amd/ 89obj-y += mediatek/ 90obj-y += qcom/ 91obj-y += stm32/ 92obj-y += ti/ 93obj-y += xilinx/ 94