]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/blob - drivers/staging/android/Kconfig
c303acbe05cc2c3126e37dd0ab2f454e050fbada
[sojka/nv-tegra/linux-3.10.git] / drivers / staging / android / Kconfig
1 menu "Android"
2
3 config ANDROID
4         bool "Android Drivers"
5         default N
6         ---help---
7           Enable support for various drivers needed on the Android platform
8
9 if ANDROID
10
11 config ANDROID_BINDER_IPC
12         bool "Android Binder IPC Driver"
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
22 config ANDROID_BINDER_IPC_32BIT
23         bool "Use old 32-bit binder api"
24         default y
25         depends on !64BIT
26         ---help---
27           Enable to support an old 32-bit Android user-space. Breaks the new
28           Android user-space.
29
30 config ASHMEM
31         bool "Enable the Anonymous Shared Memory Subsystem"
32         default n
33         depends on SHMEM
34         ---help---
35           The ashmem subsystem is a new shared memory allocator, similar to
36           POSIX SHM but with different behavior and sporting a simpler
37           file-based API.
38
39           It is, in theory, a good memory allocator for low-memory devices,
40           because it can discard shared memory units when under memory pressure.
41
42 config ANDROID_LOGGER
43         tristate "Android log driver"
44         default n
45         ---help---
46           This adds support for system-wide logging using four log buffers.
47
48           These are:
49
50               1: main
51               2: events
52               3: radio
53               4: system
54
55           Log reading and writing is performed via normal Linux reads and
56           optimized writes. This optimization avoids logging having too
57           much overhead in the system.
58
59 config ANDROID_TIMED_OUTPUT
60         bool "Timed output class driver"
61         default y
62
63 config ANDROID_TIMED_GPIO
64         tristate "Android timed gpio driver"
65         depends on GPIOLIB && ANDROID_TIMED_OUTPUT
66         default n
67
68 config ANDROID_LOW_MEMORY_KILLER
69         bool "Android Low Memory Killer"
70         default N
71         ---help---
72           Registers processes to be killed when memory is low
73
74 config ANDROID_LOW_MEMORY_KILLER_AUTODETECT_OOM_ADJ_VALUES
75         bool "Android Low Memory Killer: detect oom_adj values"
76         depends on ANDROID_LOW_MEMORY_KILLER
77         default y
78         ---help---
79           Detect oom_adj values written to
80           /sys/module/lowmemorykiller/parameters/adj and convert them
81           to oom_score_adj values.
82
83 config ANDROID_LOW_MEMORY_KILLER_AUTODETECT_OOM_ADJ_VALUES
84         bool "Android Low Memory Killer: detect oom_adj values"
85         depends on ANDROID_LOW_MEMORY_KILLER
86         default y
87         ---help---
88           Detect oom_adj values written to
89           /sys/module/lowmemorykiller/parameters/adj and convert them
90           to oom_score_adj values.
91
92 config ANDROID_INTF_ALARM_DEV
93         bool "Android alarm driver"
94         depends on RTC_CLASS
95         default n
96         ---help---
97           Provides non-wakeup and rtc backed wakeup alarms based on rtc or
98           elapsed realtime, and a non-wakeup alarm on the monotonic clock.
99           Also exports the alarm interface to user-space.
100
101 config SYNC
102         bool "Synchronization framework"
103         default n
104         select ANON_INODES
105         help
106           This option enables the framework for synchronization between multiple
107           drivers.  Sync implementations can take advantage of hardware
108           synchronization built into devices like GPUs.
109
110 config SW_SYNC
111         bool "Software synchronization objects"
112         default n
113         depends on SYNC
114         help
115           A sync object driver that uses a 32bit counter to coordinate
116           syncrhronization.  Useful when there is no hardware primitive backing
117           the synchronization.
118
119 config SW_SYNC_USER
120         bool "Userspace API for SW_SYNC"
121         default n
122         depends on SW_SYNC
123         help
124           Provides a user space API to the sw sync object.
125           *WARNING* improper use of this can result in deadlocking kernel
126           drivers from userspace.
127
128 source "drivers/staging/android/ion/Kconfig"
129
130 source "drivers/staging/android/fiq_debugger/Kconfig"
131
132 endif # if ANDROID
133
134 endmenu