• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
24	  It is, in theory, a good memory allocator for low-memory devices,
25	  because it can discard shared memory units when under memory pressure.
26
27config ANDROID_PERSISTENT_RAM
28	bool
29	depends on HAVE_MEMBLOCK
30	select REED_SOLOMON
31	select REED_SOLOMON_ENC8
32	select REED_SOLOMON_DEC8
33
34config ANDROID_RAM_CONSOLE
35	bool "Android RAM buffer console"
36	depends on !S390 && !UML && HAVE_MEMBLOCK
37	select ANDROID_PERSISTENT_RAM
38	default n
39
40config PERSISTENT_TRACER
41	bool "Persistent function tracer"
42	depends on HAVE_FUNCTION_TRACER
43	select FUNCTION_TRACER
44	select ANDROID_PERSISTENT_RAM
45	help
46	  persistent_trace traces function calls into a persistent ram
47	  buffer that can be decoded and dumped after reboot through
48	  /sys/kernel/debug/persistent_trace.  It can be used to
49	  determine what function was last called before a reset or
50	  panic.
51
52	  If unsure, say N.
53
54config ANDROID_TIMED_OUTPUT
55	bool "Timed output class driver"
56	default y
57
58config ANDROID_TIMED_GPIO
59	tristate "Android timed gpio driver"
60	depends on GENERIC_GPIO && ANDROID_TIMED_OUTPUT
61	default n
62
63config ANDROID_LOW_MEMORY_KILLER
64	bool "Android Low Memory Killer"
65	default N
66	---help---
67	  Register processes to be killed when memory is low
68
69config ANDROID_LOW_MEMORY_KILLER_AUTODETECT_OOM_ADJ_VALUES
70	bool "Android Low Memory Killer: detect oom_adj values"
71	depends on ANDROID_LOW_MEMORY_KILLER
72	default y
73	---help---
74	  Detect oom_adj values written to
75	  /sys/module/lowmemorykiller/parameters/adj and convert them
76	  to oom_score_adj values.
77
78source "drivers/staging/android/switch/Kconfig"
79
80endif # if ANDROID
81
82endmenu
83