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 ASHMEM 12 bool "Enable the Anonymous Shared Memory Subsystem" 13 default n 14 depends on SHMEM 15 ---help--- 16 The ashmem subsystem is a new shared memory allocator, similar to 17 POSIX SHM but with different behavior and sporting a simpler 18 file-based API. 19 20 It is, in theory, a good memory allocator for low-memory devices, 21 because it can discard shared memory units when under memory pressure. 22 23config ANDROID_TIMED_OUTPUT 24 bool "Timed output class driver" 25 default y 26 27config ANDROID_TIMED_GPIO 28 tristate "Android timed gpio driver" 29 depends on GPIOLIB && ANDROID_TIMED_OUTPUT 30 default n 31 32config ANDROID_LOW_MEMORY_KILLER 33 bool "Android Low Memory Killer" 34 default N 35 ---help--- 36 Registers processes to be killed when memory is low 37 38config ANDROID_LOW_MEMORY_KILLER_AUTODETECT_OOM_ADJ_VALUES 39 bool "Android Low Memory Killer: detect oom_adj values" 40 depends on ANDROID_LOW_MEMORY_KILLER 41 default y 42 ---help--- 43 Detect oom_adj values written to 44 /sys/module/lowmemorykiller/parameters/adj and convert them 45 to oom_score_adj values. 46 47config SYNC 48 bool "Synchronization framework" 49 default n 50 select ANON_INODES 51 help 52 This option enables the framework for synchronization between multiple 53 drivers. Sync implementations can take advantage of hardware 54 synchronization built into devices like GPUs. 55 56config SW_SYNC 57 bool "Software synchronization objects" 58 default n 59 depends on SYNC 60 help 61 A sync object driver that uses a 32bit counter to coordinate 62 syncrhronization. Useful when there is no hardware primitive backing 63 the synchronization. 64 65config SW_SYNC_USER 66 bool "Userspace API for SW_SYNC" 67 default n 68 depends on SW_SYNC 69 help 70 Provides a user space API to the sw sync object. 71 *WARNING* improper use of this can result in deadlocking kernel 72 drivers from userspace. 73 74source "drivers/staging/android/ion/Kconfig" 75 76source "drivers/staging/android/fiq_debugger/Kconfig" 77 78endif # if ANDROID 79 80endmenu 81