mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
ccd50abd9f
The gdma driver has been removed from the upstream. Let's move it to the local files. This patch also removed unsupported compatible string and sub-target. Signed-off-by: Shiji Yang <yangshiji66@qq.com>
40 lines
1.2 KiB
Diff
40 lines
1.2 KiB
Diff
From: Shiji Yang <yangshiji66@outlook.com>
|
|
Date: Mon, 27 May 2024 08:25:57 +0000
|
|
Subject: [PATCH] dma: ralink: add back gdma driver
|
|
|
|
The upstream staging driver has been removed[1] since kernel v5.17.
|
|
|
|
[1] 5bfc10690c6c ("staging: ralink-gdma: remove driver from tree")
|
|
|
|
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
|
|
---
|
|
drivers/dma/Kconfig | 6 ++++++
|
|
drivers/dma/Makefile | 1 +
|
|
2 files changed, 7 insertions(+)
|
|
|
|
--- a/drivers/dma/Kconfig
|
|
+++ b/drivers/dma/Kconfig
|
|
@@ -532,6 +532,12 @@ config PLX_DMA
|
|
These are exposed via extra functions on the switch's
|
|
upstream port. Each function exposes one DMA channel.
|
|
|
|
+config RALINK_GDMA
|
|
+ tristate "RALINK GDMA support"
|
|
+ depends on RALINK && !SOC_RT288X
|
|
+ select DMA_ENGINE
|
|
+ select DMA_VIRTUAL_CHANNELS
|
|
+
|
|
config STE_DMA40
|
|
bool "ST-Ericsson DMA40 support"
|
|
depends on ARCH_U8500
|
|
--- a/drivers/dma/Makefile
|
|
+++ b/drivers/dma/Makefile
|
|
@@ -64,6 +64,7 @@ obj-$(CONFIG_PL330_DMA) += pl330.o
|
|
obj-$(CONFIG_PLX_DMA) += plx_dma.o
|
|
obj-$(CONFIG_PPC_BESTCOMM) += bestcomm/
|
|
obj-$(CONFIG_PXA_DMA) += pxa_dma.o
|
|
+obj-$(CONFIG_RALINK_GDMA) += ralink-gdma.o
|
|
obj-$(CONFIG_RENESAS_DMA) += sh/
|
|
obj-$(CONFIG_SF_PDMA) += sf-pdma/
|
|
obj-$(CONFIG_STE_DMA40) += ste_dma40.o ste_dma40_ll.o
|