Kconfig revision 203209ef77e4d5f0ee729557b09770bce0c2d251
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
33config ANDROID_RAM_CONSOLE_ENABLE_VERBOSE
34	bool "Enable verbose console messages on Android RAM console"
35	default y
36	depends on ANDROID_RAM_CONSOLE
37
38menuconfig ANDROID_RAM_CONSOLE_ERROR_CORRECTION
39	bool "Android RAM Console Enable error correction"
40	default n
41	depends on ANDROID_RAM_CONSOLE
42	depends on !ANDROID_RAM_CONSOLE_EARLY_INIT
43	select REED_SOLOMON
44	select REED_SOLOMON_ENC8
45	select REED_SOLOMON_DEC8
46
47if ANDROID_RAM_CONSOLE_ERROR_CORRECTION
48
49config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_DATA_SIZE
50	int "Android RAM Console Data data size"
51	default 128
52	help
53	  Must be a power of 2.
54
55config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_ECC_SIZE
56	int "Android RAM Console ECC size"
57	default 16
58
59config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE
60	int "Android RAM Console Symbol size"
61	default 8
62
63config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_POLYNOMIAL
64	hex "Android RAM Console Polynomial"
65	default 0x19 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 4)
66	default 0x29 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 5)
67	default 0x61 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 6)
68	default 0x89 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 7)
69	default 0x11d if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 8)
70
71endif # ANDROID_RAM_CONSOLE_ERROR_CORRECTION
72
73config ANDROID_RAM_CONSOLE_EARLY_INIT
74	bool "Start Android RAM console early"
75	default n
76	depends on ANDROID_RAM_CONSOLE
77
78config ANDROID_RAM_CONSOLE_EARLY_ADDR
79	hex "Android RAM console virtual address"
80	default 0
81	depends on ANDROID_RAM_CONSOLE_EARLY_INIT
82
83config ANDROID_RAM_CONSOLE_EARLY_SIZE
84	hex "Android RAM console buffer size"
85	default 0
86	depends on ANDROID_RAM_CONSOLE_EARLY_INIT
87
88config ANDROID_TIMED_OUTPUT
89	bool "Timed output class driver"
90	default y
91
92config ANDROID_TIMED_GPIO
93	tristate "Android timed gpio driver"
94	depends on GENERIC_GPIO && ANDROID_TIMED_OUTPUT
95	default n
96
97config ANDROID_LOW_MEMORY_KILLER
98	bool "Android Low Memory Killer"
99	default N
100	---help---
101	  Register processes to be killed when memory is low
102
103source "drivers/staging/android/switch/Kconfig"
104
105endif # if ANDROID
106
107endmenu
108