summaryrefslogtreecommitdiffstats
path: root/arch/openrisc/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig2018-07-19 15:02:32 +0200
committerStafford Horne2018-07-21 06:49:48 +0200
commit5600779ea5f3d29fadc62208e21feb0bb9b813aa (patch)
treed49bf4a374600be039fdcd22a0b70bc28af324ad /arch/openrisc/Kconfig
parentopenrisc: fix cache maintainance the the sync_single_for_device DMA operation (diff)
downloadkernel-qcow2-linux-5600779ea5f3d29fadc62208e21feb0bb9b813aa.tar.gz
kernel-qcow2-linux-5600779ea5f3d29fadc62208e21feb0bb9b813aa.tar.xz
kernel-qcow2-linux-5600779ea5f3d29fadc62208e21feb0bb9b813aa.zip
openrisc: use generic dma_noncoherent_ops
Switch to the generic noncoherent direct mapping implementation. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'arch/openrisc/Kconfig')
-rw-r--r--arch/openrisc/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig
index 9ecad05bfc73..65e3c574c9d3 100644
--- a/arch/openrisc/Kconfig
+++ b/arch/openrisc/Kconfig
@@ -6,6 +6,8 @@
config OPENRISC
def_bool y
+ select ARCH_HAS_SYNC_DMA_FOR_DEVICE
+ select DMA_NONCOHERENT_OPS
select OF
select OF_EARLY_FLATTREE
select IRQ_DOMAIN