7 Enable support for various drivers needed on the Android platform
11 config ANDROID_BINDER_IPC
12 bool "Android Binder IPC Driver"
16 bool "Enable the Anonymous Shared Memory Subsystem"
18 depends on SHMEM || TINY_SHMEM
20 The ashmem subsystem is a new shared memory allocator, similar to
21 POSIX SHM but with different behavior and sporting a simpler
25 tristate "Android log driver"
28 config ANDROID_RAM_CONSOLE
29 bool "Android RAM buffer console"
30 depends on !S390 && !UML
33 config ANDROID_RAM_CONSOLE_ENABLE_VERBOSE
34 bool "Enable verbose console messages on Android RAM console"
36 depends on ANDROID_RAM_CONSOLE
38 menuconfig ANDROID_RAM_CONSOLE_ERROR_CORRECTION
39 bool "Android RAM Console Enable error correction"
41 depends on ANDROID_RAM_CONSOLE
43 select REED_SOLOMON_ENC8
44 select REED_SOLOMON_DEC8
46 if ANDROID_RAM_CONSOLE_ERROR_CORRECTION
48 config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_DATA_SIZE
49 int "Android RAM Console Data data size"
54 config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_ECC_SIZE
55 int "Android RAM Console ECC size"
58 config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE
59 int "Android RAM Console Symbol size"
62 config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_POLYNOMIAL
63 hex "Android RAM Console Polynomial"
64 default 0x19 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 4)
65 default 0x29 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 5)
66 default 0x61 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 6)
67 default 0x89 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 7)
68 default 0x11d if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 8)
70 endif # ANDROID_RAM_CONSOLE_ERROR_CORRECTION
72 config ANDROID_TIMED_OUTPUT
73 bool "Timed output class driver"
76 config ANDROID_TIMED_GPIO
77 tristate "Android timed gpio driver"
78 depends on GENERIC_GPIO && ANDROID_TIMED_OUTPUT
81 config ANDROID_LOW_MEMORY_KILLER
82 bool "Android Low Memory Killer"
85 Register processes to be killed when memory is low
87 source "drivers/staging/android/switch/Kconfig"
89 config ANDROID_INTF_ALARM
90 bool "Android alarm driver"
94 Provides non-wakeup and rtc backed wakeup alarms based on rtc or
95 elapsed realtime, and a non-wakeup alarm on the monotonic clock.
96 Also provides an interface to set the wall time which must be used
97 for elapsed realtime to work.
99 config ANDROID_INTF_ALARM_DEV
100 bool "Android alarm device"
101 depends on ANDROID_INTF_ALARM
104 Exports the alarm interface to user-space.
106 config ANDROID_ALARM_OLDDRV_COMPAT
107 bool "Android Alarm compatability with old drivers"
108 depends on ANDROID_INTF_ALARM
111 Provides preprocessor alias to aid compatability with
112 older out-of-tree drivers that use the Android Alarm
113 in-kernel API. This will be removed eventually.