diff options
author | Christoph Hellwig <hch@lst.de> | 2019-11-07 18:08:39 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-03-16 10:48:16 +0100 |
commit | a4a4d11a22ee89d0e94bd8640ec190d81b4c8134 (patch) | |
tree | 2de28b62a9e97c61f59f79b1497fd9772be25830 /arch/openrisc/Kconfig | |
parent | 999a5d1203baa7cff00586361feae263ee3f23a5 (diff) |
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/Kconfig | 2 |
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 |