Commit | Line | Data |
---|---|---|
c30707be | 1 | menuconfig ION |
968141d2 | 2 | bool "Ion Memory Manager" |
80dd7052 | 3 | depends on HAVE_MEMBLOCK && HAS_DMA && MMU |
c30707be | 4 | select GENERIC_ALLOCATOR |
b892bf75 | 5 | select DMA_SHARED_BUFFER |
024789ae JS |
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. | |
c30707be | 12 | |
ceff95d4 CC |
13 | config ION_TEST |
14 | tristate "Ion Test Device" | |
15 | depends on ION | |
16 | help | |
17 | Choose this option to create a device that can be used to test the | |
18 | kernel and device side ION functions. | |
19 | ||
1184ead8 JS |
20 | config ION_DUMMY |
21 | bool "Dummy Ion driver" | |
22 | depends on ION | |
23 | help | |
24 | Provides a dummy ION driver that registers the | |
25 | /dev/ion device and some basic heaps. This can | |
26 | be used for testing the ION infrastructure if | |
27 | one doesn't have access to hardware drivers that | |
28 | use ION. | |
29 | ||
c30707be RSZ |
30 | config ION_TEGRA |
31 | tristate "Ion for Tegra" | |
32 | depends on ARCH_TEGRA && ION | |
33 | help | |
34 | Choose this option if you wish to use ion on an nVidia Tegra. | |
35 | ||
2b40182a CF |
36 | config ION_HISI |
37 | tristate "Ion for Hisilicon" | |
38 | depends on ARCH_HISI && ION | |
39 | help | |
40 | Choose this option if you wish to use ion on Hisilicon Platform. | |
41 | ||
42 | source "drivers/staging/android/ion/hisilicon/Kconfig" | |
13439479 LA |
43 | |
44 | config ION_OF | |
45 | bool "Devicetree support for Ion" | |
46 | depends on ION && OF | |
47 | help | |
48 | Provides base support for defining Ion heaps in devicetree | |
49 | and setting them up. Also includes functions for platforms | |
50 | to parse the devicetree and expand for their own custom | |
51 | extensions | |
52 | ||
53 | If using Ion and devicetree, you should say Y here |