Kconfig 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. menu "Android"
  2. config ANDROID
  3. bool "Android Drivers"
  4. default N
  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. default n
  11. config ANDROID_LOGGER
  12. tristate "Android log driver"
  13. default n
  14. config ANDROID_RAM_CONSOLE
  15. bool "Android RAM buffer console"
  16. default n
  17. config ANDROID_RAM_CONSOLE_ENABLE_VERBOSE
  18. bool "Enable verbose console messages on Android RAM console"
  19. default y
  20. depends on ANDROID_RAM_CONSOLE
  21. menuconfig ANDROID_RAM_CONSOLE_ERROR_CORRECTION
  22. bool "Android RAM Console Enable error correction"
  23. default n
  24. depends on ANDROID_RAM_CONSOLE
  25. depends on !ANDROID_RAM_CONSOLE_EARLY_INIT
  26. select REED_SOLOMON
  27. select REED_SOLOMON_ENC8
  28. select REED_SOLOMON_DEC8
  29. if ANDROID_RAM_CONSOLE_ERROR_CORRECTION
  30. config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_DATA_SIZE
  31. int "Android RAM Console Data data size"
  32. default 128
  33. help
  34. Must be a power of 2.
  35. config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_ECC_SIZE
  36. int "Android RAM Console ECC size"
  37. default 16
  38. config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE
  39. int "Android RAM Console Symbol size"
  40. default 8
  41. config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_POLYNOMIAL
  42. hex "Android RAM Console Polynomial"
  43. default 0x19 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 4)
  44. default 0x29 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 5)
  45. default 0x61 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 6)
  46. default 0x89 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 7)
  47. default 0x11d if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 8)
  48. endif # ANDROID_RAM_CONSOLE_ERROR_CORRECTION
  49. config ANDROID_RAM_CONSOLE_EARLY_INIT
  50. bool "Start Android RAM console early"
  51. default n
  52. depends on ANDROID_RAM_CONSOLE
  53. config ANDROID_RAM_CONSOLE_EARLY_ADDR
  54. hex "Android RAM console virtual address"
  55. default 0
  56. depends on ANDROID_RAM_CONSOLE_EARLY_INIT
  57. config ANDROID_RAM_CONSOLE_EARLY_SIZE
  58. hex "Android RAM console buffer size"
  59. default 0
  60. depends on ANDROID_RAM_CONSOLE_EARLY_INIT
  61. config ANDROID_TIMED_OUTPUT
  62. bool "Timed output class driver"
  63. default y
  64. config ANDROID_TIMED_GPIO
  65. tristate "Android timed gpio driver"
  66. depends on GENERIC_GPIO && ANDROID_TIMED_OUTPUT
  67. default n
  68. config ANDROID_LOW_MEMORY_KILLER
  69. bool "Android Low Memory Killer"
  70. default N
  71. ---help---
  72. Register processes to be killed when memory is low
  73. endif # if ANDROID
  74. endmenu