summaryrefslogtreecommitdiffstats
path: root/arch/openrisc/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-07-19 06:02:32 -0700
committerStafford Horne <shorne@gmail.com>2018-07-21 13:49:48 +0900
commit5600779ea5f3d29fadc62208e21feb0bb9b813aa (patch)
treed49bf4a374600be039fdcd22a0b70bc28af324ad /arch/openrisc/Kconfig
parent2c1de929aef31afbff0dad81de9cc26056d3d01b (diff)
downloadlinux-5600779ea5f3d29fadc62208e21feb0bb9b813aa.tar.gz
linux-5600779ea5f3d29fadc62208e21feb0bb9b813aa.tar.bz2
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