blob: eb1dee26bda3662972d9e9e6e4595402ba775ee5 [file] [log] [blame]
Greg Kroah-Hartman355b0502011-11-30 20:18:14 +09001menu "Android"
2
3config ANDROID
4 bool "Android Drivers"
Greg Kroah-Hartman355b0502011-11-30 20:18:14 +09005 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 default n
14
Robert Love11980c22011-12-20 16:49:48 -080015config ASHMEM
16 bool "Enable the Anonymous Shared Memory Subsystem"
17 default n
18 depends on SHMEM || TINY_SHMEM
19 help
20 The ashmem subsystem is a new shared memory allocator, similar to
21 POSIX SHM but with different behavior and sporting a simpler
22 file-based API.
23
Greg Kroah-Hartman355b0502011-11-30 20:18:14 +090024config ANDROID_LOGGER
25 tristate "Android log driver"
26 default n
27
Colin Crossc6725282012-03-07 17:34:32 -080028config ANDROID_PERSISTENT_RAM
29 bool
Colin Cross099f5d02012-03-21 10:18:33 -070030 depends on HAVE_MEMBLOCK
Colin Cross9cc05ad2012-03-07 17:34:33 -080031 select REED_SOLOMON
32 select REED_SOLOMON_ENC8
33 select REED_SOLOMON_DEC8
Colin Crossc6725282012-03-07 17:34:32 -080034
Greg Kroah-Hartman355b0502011-11-30 20:18:14 +090035config ANDROID_RAM_CONSOLE
36 bool "Android RAM buffer console"
Colin Cross099f5d02012-03-21 10:18:33 -070037 depends on !S390 && !UML && HAVE_MEMBLOCK
Colin Crossc6725282012-03-07 17:34:32 -080038 select ANDROID_PERSISTENT_RAM
Greg Kroah-Hartman355b0502011-11-30 20:18:14 +090039 default n
40
Greg Kroah-Hartman355b0502011-11-30 20:18:14 +090041config ANDROID_TIMED_OUTPUT
42 bool "Timed output class driver"
43 default y
44
45config ANDROID_TIMED_GPIO
46 tristate "Android timed gpio driver"
47 depends on GENERIC_GPIO && ANDROID_TIMED_OUTPUT
48 default n
49
50config ANDROID_LOW_MEMORY_KILLER
51 bool "Android Low Memory Killer"
52 default N
53 ---help---
54 Register processes to be killed when memory is low
55
Mike Lockwoode0f5bb92008-10-14 12:50:16 -040056source "drivers/staging/android/switch/Kconfig"
57
John Stultzfe8d2722012-02-09 14:24:36 -080058config ANDROID_INTF_ALARM
59 bool "Android alarm driver"
60 depends on RTC_CLASS
Praneeth Kumar Bajjuri58a38ff2012-02-09 14:24:37 -080061 default n
John Stultzfe8d2722012-02-09 14:24:36 -080062 help
63 Provides non-wakeup and rtc backed wakeup alarms based on rtc or
64 elapsed realtime, and a non-wakeup alarm on the monotonic clock.
65 Also provides an interface to set the wall time which must be used
66 for elapsed realtime to work.
67
68config ANDROID_INTF_ALARM_DEV
69 bool "Android alarm device"
70 depends on ANDROID_INTF_ALARM
71 default y
72 help
73 Exports the alarm interface to user-space.
74
John Stultz2157f892012-02-09 14:24:41 -080075config ANDROID_ALARM_OLDDRV_COMPAT
76 bool "Android Alarm compatability with old drivers"
77 depends on ANDROID_INTF_ALARM
78 default n
79 help
80 Provides preprocessor alias to aid compatability with
81 older out-of-tree drivers that use the Android Alarm
82 in-kernel API. This will be removed eventually.
83
Greg Kroah-Hartman355b0502011-11-30 20:18:14 +090084endif # if ANDROID
85
86endmenu