Kconfig revision c5ee1211f249b0897f715aba4647c1f494509cab
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_RAM_CONSOLE 29 bool "Android RAM buffer console" 30 depends on !S390 && !UML 31 default n 32 33menuconfig ANDROID_RAM_CONSOLE_ERROR_CORRECTION 34 bool "Android RAM Console Enable error correction" 35 default n 36 depends on ANDROID_RAM_CONSOLE 37 select REED_SOLOMON 38 select REED_SOLOMON_ENC8 39 select REED_SOLOMON_DEC8 40 41if ANDROID_RAM_CONSOLE_ERROR_CORRECTION 42 43config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_DATA_SIZE 44 int "Android RAM Console Data data size" 45 default 128 46 help 47 Must be a power of 2. 48 49config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_ECC_SIZE 50 int "Android RAM Console ECC size" 51 default 16 52 53config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE 54 int "Android RAM Console Symbol size" 55 default 8 56 57config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_POLYNOMIAL 58 hex "Android RAM Console Polynomial" 59 default 0x19 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 4) 60 default 0x29 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 5) 61 default 0x61 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 6) 62 default 0x89 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 7) 63 default 0x11d if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 8) 64 65endif # ANDROID_RAM_CONSOLE_ERROR_CORRECTION 66 67config ANDROID_TIMED_OUTPUT 68 bool "Timed output class driver" 69 default y 70 71config ANDROID_TIMED_GPIO 72 tristate "Android timed gpio driver" 73 depends on GENERIC_GPIO && ANDROID_TIMED_OUTPUT 74 default n 75 76config ANDROID_LOW_MEMORY_KILLER 77 bool "Android Low Memory Killer" 78 default N 79 ---help--- 80 Register processes to be killed when memory is low 81 82source "drivers/staging/android/switch/Kconfig" 83 84config ANDROID_INTF_ALARM 85 bool "Android alarm driver" 86 depends on RTC_CLASS 87 default n 88 help 89 Provides non-wakeup and rtc backed wakeup alarms based on rtc or 90 elapsed realtime, and a non-wakeup alarm on the monotonic clock. 91 Also provides an interface to set the wall time which must be used 92 for elapsed realtime to work. 93 94config ANDROID_INTF_ALARM_DEV 95 bool "Android alarm device" 96 depends on ANDROID_INTF_ALARM 97 default y 98 help 99 Exports the alarm interface to user-space. 100 101config ANDROID_ALARM_OLDDRV_COMPAT 102 bool "Android Alarm compatability with old drivers" 103 depends on ANDROID_INTF_ALARM 104 default n 105 help 106 Provides preprocessor alias to aid compatability with 107 older out-of-tree drivers that use the Android Alarm 108 in-kernel API. This will be removed eventually. 109 110endif # if ANDROID 111 112endmenu 113