diff options
author | Christoph Hellwig <hch@lst.de> | 2019-04-28 14:00:52 -0500 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-06-25 14:28:06 +0200 |
commit | b1acd4b8a8942f614053e516c56c88e1716562d6 (patch) | |
tree | b8951a3c62f573aa7445bf695a19f66a282fd578 /arch/nios2/Kconfig | |
parent | 6309513c1be47cd3805a6ceae60ab70285df36ae (diff) |
nios2: use the generic uncached segment support in dma-direct
Stop providing our own arch alloc/free hooks and just expose the segment
offset and use the generic dma-direct allocator.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Ley Foon Tan <ley.foon.tan@intel.com>
Diffstat (limited to 'arch/nios2/Kconfig')
-rw-r--r-- | arch/nios2/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/nios2/Kconfig b/arch/nios2/Kconfig index 26a9c760a98b..44b5da37e8bd 100644 --- a/arch/nios2/Kconfig +++ b/arch/nios2/Kconfig @@ -4,6 +4,7 @@ config NIOS2 select ARCH_32BIT_OFF_T select ARCH_HAS_SYNC_DMA_FOR_CPU select ARCH_HAS_SYNC_DMA_FOR_DEVICE + select ARCH_HAS_UNCACHED_SEGMENT select ARCH_NO_SWAP select TIMER_OF select GENERIC_ATOMIC64 |