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/include/asm/Kbuild | |
parent | 3863c58cc742df9e5f9ef0bde7dc135fdc547c19 (diff) | |
download | blackbird-op-linux-9d2ffe5c62554f2795859bb661eb138759eee980.tar.gz blackbird-op-linux-9d2ffe5c62554f2795859bb661eb138759eee980.zip |
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/include/asm/Kbuild')
-rw-r--r-- | arch/xtensa/include/asm/Kbuild | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/xtensa/include/asm/Kbuild b/arch/xtensa/include/asm/Kbuild index 28cf4c5d65ef..b7fbaa56b51a 100644 --- a/arch/xtensa/include/asm/Kbuild +++ b/arch/xtensa/include/asm/Kbuild @@ -3,6 +3,7 @@ generic-y += bug.h generic-y += clkdev.h generic-y += cputime.h generic-y += div64.h +generic-y += dma-contiguous.h generic-y += emergency-restart.h generic-y += errno.h generic-y += exec.h |