aboutsummaryrefslogtreecommitdiffstats
path: root/arch/nds32/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-05-28 09:55:35 +0200
committerChristoph Hellwig <hch@lst.de>2018-05-29 16:10:32 +0200
commit267d2e18a281c965229a3c3ccce51c471f9c4f8a (patch)
treeecb38a44a64c715d03b1278bf19da0d617816b15 /arch/nds32/Kconfig
parentnds32: implement the unmap_sg DMA operation (diff)
downloadlinux-dev-267d2e18a281c965229a3c3ccce51c471f9c4f8a.tar.xz
linux-dev-267d2e18a281c965229a3c3ccce51c471f9c4f8a.zip
nds32: use generic dma_noncoherent_ops
Switch to the generic noncoherent direct mapping implementation. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Greentime Hu <greentime@andestech.com> Tested-by: Greentime Hu <greentime@andestech.com>
Diffstat (limited to 'arch/nds32/Kconfig')
-rw-r--r--arch/nds32/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/nds32/Kconfig b/arch/nds32/Kconfig
index 249f38d3388f..67d0ac0a989c 100644
--- a/arch/nds32/Kconfig
+++ b/arch/nds32/Kconfig
@@ -5,10 +5,13 @@
config NDS32
def_bool y
+ select ARCH_HAS_SYNC_DMA_FOR_CPU
+ select ARCH_HAS_SYNC_DMA_FOR_DEVICE
select ARCH_WANT_FRAME_POINTERS if FTRACE
select CLKSRC_MMIO
select CLONE_BACKWARDS
select COMMON_CLK
+ select DMA_NONCOHERENT_OPS
select GENERIC_ATOMIC64
select GENERIC_CPU_DEVICES
select GENERIC_CLOCKEVENTS