summaryrefslogtreecommitdiffstats
path: root/arch/openrisc/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-11-07 18:08:39 +0100
committerChristoph Hellwig <hch@lst.de>2020-03-16 10:48:16 +0100
commita4a4d11a22ee89d0e94bd8640ec190d81b4c8134 (patch)
tree2de28b62a9e97c61f59f79b1497fd9772be25830 /arch/openrisc/Kconfig
parent999a5d1203baa7cff00586361feae263ee3f23a5 (diff)
downloadlinux-stable-a4a4d11a22ee89d0e94bd8640ec190d81b4c8134.tar.gz
linux-stable-a4a4d11a22ee89d0e94bd8640ec190d81b4c8134.tar.bz2
linux-stable-a4a4d11a22ee89d0e94bd8640ec190d81b4c8134.zip
openrisc: use the generic in-place uncached DMA allocator
Switch openrisc to use the dma-direct allocator and just provide the hooks for setting memory uncached or cached. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Stafford Horne <shorne@gmail.com> Reviewed-by: Robin Murphy <robin.murphy@arm.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 1928e061ff96..7e94fe37cb2f 100644
--- a/arch/openrisc/Kconfig
+++ b/arch/openrisc/Kconfig
@@ -7,6 +7,8 @@
config OPENRISC
def_bool y
select ARCH_32BIT_OFF_T
+ select ARCH_HAS_DMA_SET_UNCACHED
+ select ARCH_HAS_DMA_CLEAR_UNCACHED
select ARCH_HAS_SYNC_DMA_FOR_DEVICE
select OF
select OF_EARLY_FLATTREE