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 PERSISTENT_TRACER 42 bool "Persistent function tracer" 43 depends on HAVE_FUNCTION_TRACER 44 select FUNCTION_TRACER 45 select ANDROID_PERSISTENT_RAM 46 help 47 persistent_trace traces function calls into a persistent ram 48 buffer that can be decoded and dumped after reboot through 49 /sys/kernel/debug/persistent_trace. It can be used to 50 determine what function was last called before a reset or 51 panic. 52 53 If unsure, say N. 54 55config ANDROID_TIMED_OUTPUT 56 bool "Timed output class driver" 57 default y 58 59config ANDROID_TIMED_GPIO 60 tristate "Android timed gpio driver" 61 depends on GENERIC_GPIO && ANDROID_TIMED_OUTPUT 62 default n 63 64config ANDROID_LOW_MEMORY_KILLER 65 bool "Android Low Memory Killer" 66 default N 67 ---help--- 68 Register processes to be killed when memory is low 69 70config ANDROID_LOW_MEMORY_KILLER_AUTODETECT_OOM_ADJ_VALUES 71 bool "Android Low Memory Killer: detect oom_adj values" 72 depends on ANDROID_LOW_MEMORY_KILLER 73 default y 74 ---help--- 75 Detect oom_adj values written to 76 /sys/module/lowmemorykiller/parameters/adj and convert them 77 to oom_score_adj values. 78 79source "drivers/staging/android/switch/Kconfig" 80 81config ANDROID_INTF_ALARM_DEV 82 bool "Android alarm driver" 83 depends on RTC_CLASS 84 default n 85 help 86 Provides non-wakeup and rtc backed wakeup alarms based on rtc or 87 elapsed realtime, and a non-wakeup alarm on the monotonic clock. 88 Also exports the alarm interface to user-space. 89 90endif # if ANDROID 91 92endmenu 93