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	default n
14
15config 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
24config ANDROID_LOGGER
25	tristate "Android log driver"
26	default n
27
28config ANDROID_PERSISTENT_RAM
29	bool
30	depends on HAVE_MEMBLOCK
31	select REED_SOLOMON
32	select REED_SOLOMON_ENC8
33	select REED_SOLOMON_DEC8
34
35config ANDROID_RAM_CONSOLE
36	bool "Android RAM buffer console"
37	depends on !S390 && !UML && HAVE_MEMBLOCK
38	select ANDROID_PERSISTENT_RAM
39	default n
40
41config 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
56source "drivers/staging/android/switch/Kconfig"
57
58config ANDROID_INTF_ALARM
59	bool "Android alarm driver"
60	depends on RTC_CLASS
61	default n
62	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
75config 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
84endif # if ANDROID
85
86endmenu
87