staging: android: ion: Use CMA APIs directly
[linux-2.6-microblaze.git] / drivers / staging / android / ion / Kconfig
1 menuconfig ION
2         bool "Ion Memory Manager"
3         depends on HAVE_MEMBLOCK && HAS_DMA && MMU
4         select GENERIC_ALLOCATOR
5         select DMA_SHARED_BUFFER
6         ---help---
7           Chose this option to enable the ION Memory Manager,
8           used by Android to efficiently allocate buffers
9           from userspace that can be shared between drivers.
10           If you're not using Android its probably safe to
11           say N here.
12
13 config ION_CMA_HEAP
14         bool "Ion CMA heap support"
15         depends on ION && CMA
16         help
17           Choose this option to enable CMA heaps with Ion. This heap is backed
18           by the Contiguous Memory Allocator (CMA). If your system has these
19           regions, you should say Y here.