blob: 7e012f37792bd0bdb95ed84ae8ba4b22ea0aa466 [file] [log] [blame]
Greg Kroah-Hartman355b0502011-11-30 20:18:14 +09001menu "Android"
2
Greg Kroah-Hartman355b0502011-11-30 20:18:14 +09003if ANDROID
4
Robert Love11980c22011-12-20 16:49:48 -08005config ASHMEM
6 bool "Enable the Anonymous Shared Memory Subsystem"
7 default n
Paul Bolle2c0fb1c2013-03-14 10:41:39 +01008 depends on SHMEM
Cruz Julian Bishopd7f97292012-12-22 09:00:46 +10009 ---help---
Robert Love11980c22011-12-20 16:49:48 -080010 The ashmem subsystem is a new shared memory allocator, similar to
11 POSIX SHM but with different behavior and sporting a simpler
12 file-based API.
13
Cruz Julian Bishopd7f97292012-12-22 09:00:46 +100014 It is, in theory, a good memory allocator for low-memory devices,
15 because it can discard shared memory units when under memory pressure.
16
Greg Kroah-Hartman355b0502011-11-30 20:18:14 +090017config ANDROID_LOGGER
18 tristate "Android log driver"
19 default n
Cruz Julian Bishopd7f97292012-12-22 09:00:46 +100020 ---help---
21 This adds support for system-wide logging using four log buffers.
22
23 These are:
24
25 1: main
26 2: events
27 3: radio
28 4: system
29
30 Log reading and writing is performed via normal Linux reads and
31 optimized writes. This optimization avoids logging having too
32 much overhead in the system.
Greg Kroah-Hartman355b0502011-11-30 20:18:14 +090033
Greg Kroah-Hartman355b0502011-11-30 20:18:14 +090034config ANDROID_TIMED_OUTPUT
35 bool "Timed output class driver"
36 default y
37
38config ANDROID_TIMED_GPIO
39 tristate "Android timed gpio driver"
Alexandre Courbot76ec9d12013-03-28 04:34:56 -070040 depends on GPIOLIB && ANDROID_TIMED_OUTPUT
Greg Kroah-Hartman355b0502011-11-30 20:18:14 +090041 default n
42
43config ANDROID_LOW_MEMORY_KILLER
44 bool "Android Low Memory Killer"
Greg Kroah-Hartman355b0502011-11-30 20:18:14 +090045 ---help---
Cruz Julian Bishopd7f97292012-12-22 09:00:46 +100046 Registers processes to be killed when memory is low
Greg Kroah-Hartman355b0502011-11-30 20:18:14 +090047
John Stultzef2353d2012-04-20 12:31:47 -070048config ANDROID_INTF_ALARM_DEV
Pramod Gurav32c3f472014-06-13 11:49:43 +053049 tristate "Android alarm driver"
John Stultzfe8d2722012-02-09 14:24:36 -080050 depends on RTC_CLASS
Praneeth Kumar Bajjuri58a38ff2012-02-09 14:24:37 -080051 default n
Cruz Julian Bishopd7f97292012-12-22 09:00:46 +100052 ---help---
John Stultzfe8d2722012-02-09 14:24:36 -080053 Provides non-wakeup and rtc backed wakeup alarms based on rtc or
54 elapsed realtime, and a non-wakeup alarm on the monotonic clock.
John Stultzef2353d2012-04-20 12:31:47 -070055 Also exports the alarm interface to user-space.
John Stultzfe8d2722012-02-09 14:24:36 -080056
Erik Gilling7ad530b2013-02-28 16:42:57 -080057config SYNC
58 bool "Synchronization framework"
59 default n
60 select ANON_INODES
Maarten Lankhorst0f0d8402014-07-01 12:57:31 +020061 select DMA_SHARED_BUFFER
Cruz Julian Bishopfb51b502013-09-03 22:05:05 +100062 ---help---
Erik Gilling7ad530b2013-02-28 16:42:57 -080063 This option enables the framework for synchronization between multiple
64 drivers. Sync implementations can take advantage of hardware
65 synchronization built into devices like GPUs.
66
Erik Gilling9d1906e2013-02-28 16:42:58 -080067config SW_SYNC
68 bool "Software synchronization objects"
69 default n
70 depends on SYNC
Cruz Julian Bishopfb51b502013-09-03 22:05:05 +100071 ---help---
Erik Gilling9d1906e2013-02-28 16:42:58 -080072 A sync object driver that uses a 32bit counter to coordinate
73 syncrhronization. Useful when there is no hardware primitive backing
74 the synchronization.
75
76config SW_SYNC_USER
77 bool "Userspace API for SW_SYNC"
78 default n
79 depends on SW_SYNC
Cruz Julian Bishopfb51b502013-09-03 22:05:05 +100080 ---help---
Erik Gilling9d1906e2013-02-28 16:42:58 -080081 Provides a user space API to the sw sync object.
82 *WARNING* improper use of this can result in deadlocking kernel
83 drivers from userspace.
84
Rebecca Schultz Zavinc30707b2013-12-13 19:38:38 -080085source "drivers/staging/android/ion/Kconfig"
86
Greg Kroah-Hartman355b0502011-11-30 20:18:14 +090087endif # if ANDROID
88
89endmenu