diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2016-04-25 22:08:52 +0300 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2016-12-15 10:41:50 -0800 |
commit | 9d2ffe5c62554f2795859bb661eb138759eee980 (patch) | |
tree | 3093778665a69c88e9f0727d5ee2165078c530cb /arch/xtensa/Kconfig | |
parent | 3863c58cc742df9e5f9ef0bde7dc135fdc547c19 (diff) | |
download | linux-9d2ffe5c62554f2795859bb661eb138759eee980.tar.bz2 |
xtensa: enable HAVE_DMA_CONTIGUOUS
Enable HAVE_DMA_CONTIGUOUS, reserve contiguous memory at bootmem_init,
use dma_alloc_from_contiguous and dma_release_from_contiguous in
xtensa_dma_alloc/free.
This allows for big contiguous DMA buffer allocation from designated
area configured in the device tree.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/Kconfig')
-rw-r--r-- | arch/xtensa/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig index f61058617ada..f4126cf997a4 100644 --- a/arch/xtensa/Kconfig +++ b/arch/xtensa/Kconfig @@ -15,6 +15,7 @@ config XTENSA select GENERIC_SCHED_CLOCK select HAVE_DEBUG_KMEMLEAK select HAVE_DMA_API_DEBUG + select HAVE_DMA_CONTIGUOUS select HAVE_EXIT_THREAD select HAVE_FUNCTION_TRACER select HAVE_FUTEX_CMPXCHG if !MMU |