Kconfig 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # SPDX-License-Identifier: GPL-2.0
  2. menu "Android"
  3. config ANDROID
  4. bool "Android Drivers"
  5. ---help---
  6. Enable support for various drivers needed on the Android platform
  7. if ANDROID
  8. config ANDROID_BINDER_IPC
  9. bool "Android Binder IPC Driver"
  10. depends on MMU
  11. default n
  12. ---help---
  13. Binder is used in Android for both communication between processes,
  14. and remote method invocation.
  15. This means one Android process can call a method/routine in another
  16. Android process, using Binder to identify, invoke and pass arguments
  17. between said processes.
  18. config ANDROID_BINDERFS
  19. bool "Android Binderfs filesystem"
  20. depends on ANDROID_BINDER_IPC
  21. default n
  22. ---help---
  23. Binderfs is a pseudo-filesystem for the Android Binder IPC driver
  24. which can be mounted per-ipc namespace allowing to run multiple
  25. instances of Android.
  26. Each binderfs mount initially only contains a binder-control device.
  27. It can be used to dynamically allocate new binder IPC devices via
  28. ioctls.
  29. config ANDROID_BINDER_DEVICES
  30. string "Android Binder devices"
  31. depends on ANDROID_BINDER_IPC
  32. default "binder,hwbinder,vndbinder"
  33. ---help---
  34. Default value for the binder.devices parameter.
  35. The binder.devices parameter is a comma-separated list of strings
  36. that specifies the names of the binder device nodes that will be
  37. created. Each binder device has its own context manager, and is
  38. therefore logically separated from the other devices.
  39. config ANDROID_BINDER_IPC_SELFTEST
  40. bool "Android Binder IPC Driver Selftest"
  41. depends on ANDROID_BINDER_IPC
  42. ---help---
  43. This feature allows binder selftest to run.
  44. Binder selftest checks the allocation and free of binder buffers
  45. exhaustively with combinations of various buffer sizes and
  46. alignments.
  47. endif # if ANDROID
  48. endmenu