Kconfig revision a884fbbd9b1a5dd762d32375e3cbb609603c7c1e
1menu "Android"
2
3config ANDROID
4	bool "Android Drivers"
5	---help---
6	  Enable support for various drivers needed on the Android platform
7
8if ANDROID
9
10config ANDROID_BINDER_IPC
11	bool "Android Binder IPC Driver"
12	depends on MMU
13	default n
14	---help---
15	  Binder is used in Android for both communication between processes,
16	  and remote method invocation.
17
18	  This means one Android process can call a method/routine in another
19	  Android process, using Binder to identify, invoke and pass arguments
20	  between said processes.
21
22config ANDROID_BINDER_IPC_32BIT
23	bool
24	depends on !64BIT && ANDROID_BINDER_IPC
25	default y
26	---help---
27	  The Binder API has been changed to support both 32 and 64bit
28	  applications in a mixed environment.
29
30	  Enable this to support an old 32-bit Android user-space (v4.4 and
31	  earlier).
32
33	  Note that enabling this will break newer Android user-space.
34
35config ASHMEM
36	bool "Enable the Anonymous Shared Memory Subsystem"
37	default n
38	depends on SHMEM
39	---help---
40	  The ashmem subsystem is a new shared memory allocator, similar to
41	  POSIX SHM but with different behavior and sporting a simpler
42	  file-based API.
43
44	  It is, in theory, a good memory allocator for low-memory devices,
45	  because it can discard shared memory units when under memory pressure.
46
47config ANDROID_TIMED_OUTPUT
48	bool "Timed output class driver"
49	default y
50
51config ANDROID_TIMED_GPIO
52	tristate "Android timed gpio driver"
53	depends on GPIOLIB && ANDROID_TIMED_OUTPUT
54	default n
55
56config ANDROID_LOW_MEMORY_KILLER
57	bool "Android Low Memory Killer"
58	---help---
59	  Registers processes to be killed when memory is low
60
61config ANDROID_LOW_MEMORY_KILLER_AUTODETECT_OOM_ADJ_VALUES
62	bool "Android Low Memory Killer: detect oom_adj values"
63	depends on ANDROID_LOW_MEMORY_KILLER
64	default y
65	---help---
66	  Detect oom_adj values written to
67	  /sys/module/lowmemorykiller/parameters/adj and convert them
68	  to oom_score_adj values.
69
70config SYNC
71	bool "Synchronization framework"
72	default n
73	select ANON_INODES
74	select DMA_SHARED_BUFFER
75	---help---
76	  This option enables the framework for synchronization between multiple
77	  drivers.  Sync implementations can take advantage of hardware
78	  synchronization built into devices like GPUs.
79
80config SW_SYNC
81	bool "Software synchronization objects"
82	default n
83	depends on SYNC
84	---help---
85	  A sync object driver that uses a 32bit counter to coordinate
86	  syncrhronization.  Useful when there is no hardware primitive backing
87	  the synchronization.
88
89config SW_SYNC_USER
90	bool "Userspace API for SW_SYNC"
91	default n
92	depends on SW_SYNC
93	---help---
94	  Provides a user space API to the sw sync object.
95	  *WARNING* improper use of this can result in deadlocking kernel
96	  drivers from userspace.
97
98source "drivers/staging/android/ion/Kconfig"
99
100source "drivers/staging/android/fiq_debugger/Kconfig"
101
102endif # if ANDROID
103
104endmenu
105