Kconfig revision da49889deb34d351cdd113f9d1607dbb830cb5bb
1menu "Android"
2
3config ANDROID
4	bool "Android Drivers"
5	default N
6	---help---
7	  Enable support for various drivers needed on the Android platform
8
9if ANDROID
10
11config ANDROID_BINDER_IPC
12	bool "Android Binder IPC Driver"
13	depends on MMU
14	default n
15	---help---
16	  Binder is used in Android for both communication between processes,
17	  and remote method invocation.
18
19	  This means one Android process can call a method/routine in another
20	  Android process, using Binder to identify, invoke and pass arguments
21	  between said processes.
22
23config ANDROID_BINDER_IPC_32BIT
24	bool "Use old 32-bit binder api"
25	depends on !64BIT
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_LOGGER
48	tristate "Android log driver"
49	default n
50	---help---
51	  This adds support for system-wide logging using four log buffers.
52
53	  These are:
54
55	      1: main
56	      2: events
57	      3: radio
58	      4: system
59
60	  Log reading and writing is performed via normal Linux reads and
61	  optimized writes. This optimization avoids logging having too
62	  much overhead in the system.
63
64config ANDROID_TIMED_OUTPUT
65	bool "Timed output class driver"
66	default y
67
68config ANDROID_TIMED_GPIO
69	tristate "Android timed gpio driver"
70	depends on GPIOLIB && ANDROID_TIMED_OUTPUT
71	default n
72
73config ANDROID_LOW_MEMORY_KILLER
74	bool "Android Low Memory Killer"
75	default N
76	---help---
77	  Registers processes to be killed when memory is low
78
79config ANDROID_INTF_ALARM_DEV
80	bool "Android alarm driver"
81	depends on RTC_CLASS
82	default n
83	---help---
84	  Provides non-wakeup and rtc backed wakeup alarms based on rtc or
85	  elapsed realtime, and a non-wakeup alarm on the monotonic clock.
86	  Also exports the alarm interface to user-space.
87
88config SYNC
89	bool "Synchronization framework"
90	default n
91	select ANON_INODES
92	---help---
93	  This option enables the framework for synchronization between multiple
94	  drivers.  Sync implementations can take advantage of hardware
95	  synchronization built into devices like GPUs.
96
97config SW_SYNC
98	bool "Software synchronization objects"
99	default n
100	depends on SYNC
101	---help---
102	  A sync object driver that uses a 32bit counter to coordinate
103	  syncrhronization.  Useful when there is no hardware primitive backing
104	  the synchronization.
105
106config SW_SYNC_USER
107	bool "Userspace API for SW_SYNC"
108	default n
109	depends on SW_SYNC
110	---help---
111	  Provides a user space API to the sw sync object.
112	  *WARNING* improper use of this can result in deadlocking kernel
113	  drivers from userspace.
114
115source "drivers/staging/android/ion/Kconfig"
116
117endif # if ANDROID
118
119endmenu
120