Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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_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 ---help---
76 Registers processes to be killed when memory is low
77
78config ANDROID_INTF_ALARM_DEV
79 tristate "Android alarm driver"
80 depends on RTC_CLASS
81 default n
82 ---help---
83 Provides non-wakeup and rtc backed wakeup alarms based on rtc or
84 elapsed realtime, and a non-wakeup alarm on the monotonic clock.
85 Also exports the alarm interface to user-space.
86
87config SYNC
88 bool "Synchronization framework"
89 default n
90 select ANON_INODES
91 select DMA_SHARED_BUFFER
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