Kconfig 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. menu "Android"
  2. config ANDROID
  3. bool "Android Drivers"
  4. ---help---
  5. Enable support for various drivers needed on the Android platform
  6. if ANDROID
  7. config ANDROID_BINDER_IPC
  8. bool "Android Binder IPC Driver"
  9. depends on MMU
  10. default n
  11. ---help---
  12. Binder is used in Android for both communication between processes,
  13. and remote method invocation.
  14. This means one Android process can call a method/routine in another
  15. Android process, using Binder to identify, invoke and pass arguments
  16. between said processes.
  17. config ANDROID_BINDER_IPC_32BIT
  18. bool
  19. depends on !64BIT && ANDROID_BINDER_IPC
  20. default y
  21. ---help---
  22. The Binder API has been changed to support both 32 and 64bit
  23. applications in a mixed environment.
  24. Enable this to support an old 32-bit Android user-space (v4.4 and
  25. earlier).
  26. Note that enabling this will break newer Android user-space.
  27. config ASHMEM
  28. bool "Enable the Anonymous Shared Memory Subsystem"
  29. default n
  30. depends on SHMEM
  31. ---help---
  32. The ashmem subsystem is a new shared memory allocator, similar to
  33. POSIX SHM but with different behavior and sporting a simpler
  34. file-based API.
  35. It is, in theory, a good memory allocator for low-memory devices,
  36. because it can discard shared memory units when under memory pressure.
  37. config ANDROID_TIMED_OUTPUT
  38. bool "Timed output class driver"
  39. default y
  40. config ANDROID_TIMED_GPIO
  41. tristate "Android timed gpio driver"
  42. depends on GPIOLIB && ANDROID_TIMED_OUTPUT
  43. default n
  44. config ANDROID_LOW_MEMORY_KILLER
  45. bool "Android Low Memory Killer"
  46. ---help---
  47. Registers processes to be killed when memory is low
  48. config ANDROID_LOW_MEMORY_KILLER_AUTODETECT_OOM_ADJ_VALUES
  49. bool "Android Low Memory Killer: detect oom_adj values"
  50. depends on ANDROID_LOW_MEMORY_KILLER
  51. default y
  52. ---help---
  53. Detect oom_adj values written to
  54. /sys/module/lowmemorykiller/parameters/adj and convert them
  55. to oom_score_adj values.
  56. config ANDROID_INTF_ALARM_DEV
  57. bool "Android alarm driver"
  58. depends on RTC_CLASS
  59. default y
  60. ---help---
  61. Provides non-wakeup and rtc backed wakeup alarms based on rtc or
  62. elapsed realtime, and a non-wakeup alarm on the monotonic clock.
  63. Espically for wake up alarm ioctl.
  64. Also exports the alarm interface to user-space.
  65. config SYNC
  66. bool "Synchronization framework"
  67. default n
  68. select ANON_INODES
  69. select DMA_SHARED_BUFFER
  70. ---help---
  71. This option enables the framework for synchronization between multiple
  72. drivers. Sync implementations can take advantage of hardware
  73. synchronization built into devices like GPUs.
  74. config SW_SYNC
  75. bool "Software synchronization objects"
  76. default n
  77. depends on SYNC
  78. ---help---
  79. A sync object driver that uses a 32bit counter to coordinate
  80. syncrhronization. Useful when there is no hardware primitive backing
  81. the synchronization.
  82. config SW_SYNC_USER
  83. bool "Userspace API for SW_SYNC"
  84. default n
  85. depends on SW_SYNC
  86. ---help---
  87. Provides a user space API to the sw sync object.
  88. *WARNING* improper use of this can result in deadlocking kernel
  89. drivers from userspace.
  90. config MTK_GMO_RAM_OPTIMIZE
  91. bool "MTK ram optimize"
  92. default n
  93. help
  94. Provide for phone to use memory efficiently.
  95. source "drivers/staging/android/ion/Kconfig"
  96. source "drivers/staging/android/fiq_debugger/Kconfig"
  97. endif # if ANDROID
  98. endmenu