Kconfig revision 1acec6a28347c3e57d9f882088f92caf0f4aec94
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 (Android 4.4 and earlier) 32-bit binder API"
25	depends on !64BIT && ANDROID_BINDER_IPC
26	default y
27	---help---
28	  The Binder API has been changed to support both 32 and 64bit
29	  applications in a mixed environment.
30
31	  Enable this to support an old 32-bit Android user-space (v4.4 and
32	  earlier).
33
34	  Note that enabling this will break newer Android user-space.
35
36config ASHMEM
37	bool "Enable the Anonymous Shared Memory Subsystem"
38	default n
39	depends on SHMEM
40	---help---
41	  The ashmem subsystem is a new shared memory allocator, similar to
42	  POSIX SHM but with different behavior and sporting a simpler
43	  file-based API.
44
45	  It is, in theory, a good memory allocator for low-memory devices,
46	  because it can discard shared memory units when under memory pressure.
47
48config ANDROID_LOGGER
49	tristate "Android log driver"
50	default n
51	---help---
52	  This adds support for system-wide logging using four log buffers.
53
54	  These are:
55
56	      1: main
57	      2: events
58	      3: radio
59	      4: system
60
61	  Log reading and writing is performed via normal Linux reads and
62	  optimized writes. This optimization avoids logging having too
63	  much overhead in the system.
64
65config ANDROID_TIMED_OUTPUT
66	bool "Timed output class driver"
67	default y
68
69config ANDROID_TIMED_GPIO
70	tristate "Android timed gpio driver"
71	depends on GPIOLIB && ANDROID_TIMED_OUTPUT
72	default n
73
74config ANDROID_LOW_MEMORY_KILLER
75	bool "Android Low Memory Killer"
76	default N
77	---help---
78	  Registers processes to be killed when memory is low
79
80config ANDROID_INTF_ALARM_DEV
81	bool "Android alarm driver"
82	depends on RTC_CLASS
83	default n
84	---help---
85	  Provides non-wakeup and rtc backed wakeup alarms based on rtc or
86	  elapsed realtime, and a non-wakeup alarm on the monotonic clock.
87	  Also exports the alarm interface to user-space.
88
89config SYNC
90	bool "Synchronization framework"
91	default n
92	select ANON_INODES
93	---help---
94	  This option enables the framework for synchronization between multiple
95	  drivers.  Sync implementations can take advantage of hardware
96	  synchronization built into devices like GPUs.
97
98config SW_SYNC
99	bool "Software synchronization objects"
100	default n
101	depends on SYNC
102	---help---
103	  A sync object driver that uses a 32bit counter to coordinate
104	  syncrhronization.  Useful when there is no hardware primitive backing
105	  the synchronization.
106
107config SW_SYNC_USER
108	bool "Userspace API for SW_SYNC"
109	default n
110	depends on SW_SYNC
111	---help---
112	  Provides a user space API to the sw sync object.
113	  *WARNING* improper use of this can result in deadlocking kernel
114	  drivers from userspace.
115
116source "drivers/staging/android/ion/Kconfig"
117
118endif # if ANDROID
119
120endmenu
121