1menuconfig 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	  Choose 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
13config ION_SYSTEM_HEAP
14	bool "Ion system heap"
15	depends on ION
16	help
17	  Choose this option to enable the Ion system heap. The system heap
18	  is backed by pages from the buddy allocator. If in doubt, say Y.
19
20config ION_CARVEOUT_HEAP
21	bool "Ion carveout heap support"
22	depends on ION
23	help
24	  Choose this option to enable carveout heaps with Ion. Carveout heaps
25	  are backed by memory reserved from the system. Allocation times are
26	  typically faster at the cost of memory not being used. Unless you
27	  know your system has these regions, you should say N here.
28
29config ION_CHUNK_HEAP
30	bool "Ion chunk heap support"
31	depends on ION
32	help
33          Choose this option to enable chunk heaps with Ion. This heap is
34	  similar in function the carveout heap but memory is broken down
35	  into smaller chunk sizes, typically corresponding to a TLB size.
36	  Unless you know your system has these regions, you should say N here.
37
38config ION_CMA_HEAP
39	bool "Ion CMA heap support"
40	depends on ION && DMA_CMA
41	help
42	  Choose this option to enable CMA heaps with Ion. This heap is backed
43	  by the Contiguous Memory Allocator (CMA). If your system has these
44	  regions, you should say Y here.
45