Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wirel...
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / staging / android / Kconfig
1 menu "Android"
2
3 config ANDROID
4 bool "Android Drivers"
5 depends on BROKEN
6 default N
7 ---help---
8 Enable support for various drivers needed on the Android platform
9
10 if ANDROID
11
12 config ANDROID_BINDER_IPC
13 bool "Android Binder IPC Driver"
14 default n
15
16 config ANDROID_LOGGER
17 tristate "Android log driver"
18 default n
19
20 config ANDROID_RAM_CONSOLE
21 bool "Android RAM buffer console"
22 default n
23
24 config ANDROID_RAM_CONSOLE_ENABLE_VERBOSE
25 bool "Enable verbose console messages on Android RAM console"
26 default y
27 depends on ANDROID_RAM_CONSOLE
28
29 menuconfig ANDROID_RAM_CONSOLE_ERROR_CORRECTION
30 bool "Android RAM Console Enable error correction"
31 default n
32 depends on ANDROID_RAM_CONSOLE
33 depends on !ANDROID_RAM_CONSOLE_EARLY_INIT
34 select REED_SOLOMON
35 select REED_SOLOMON_ENC8
36 select REED_SOLOMON_DEC8
37
38 if ANDROID_RAM_CONSOLE_ERROR_CORRECTION
39
40 config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_DATA_SIZE
41 int "Android RAM Console Data data size"
42 default 128
43 help
44 Must be a power of 2.
45
46 config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_ECC_SIZE
47 int "Android RAM Console ECC size"
48 default 16
49
50 config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE
51 int "Android RAM Console Symbol size"
52 default 8
53
54 config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_POLYNOMIAL
55 hex "Android RAM Console Polynomial"
56 default 0x19 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 4)
57 default 0x29 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 5)
58 default 0x61 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 6)
59 default 0x89 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 7)
60 default 0x11d if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 8)
61
62 endif # ANDROID_RAM_CONSOLE_ERROR_CORRECTION
63
64 config ANDROID_RAM_CONSOLE_EARLY_INIT
65 bool "Start Android RAM console early"
66 default n
67 depends on ANDROID_RAM_CONSOLE
68
69 config ANDROID_RAM_CONSOLE_EARLY_ADDR
70 hex "Android RAM console virtual address"
71 default 0
72 depends on ANDROID_RAM_CONSOLE_EARLY_INIT
73
74 config ANDROID_RAM_CONSOLE_EARLY_SIZE
75 hex "Android RAM console buffer size"
76 default 0
77 depends on ANDROID_RAM_CONSOLE_EARLY_INIT
78
79 config ANDROID_TIMED_OUTPUT
80 bool "Timed output class driver"
81 default y
82
83 config ANDROID_TIMED_GPIO
84 tristate "Android timed gpio driver"
85 depends on GENERIC_GPIO && ANDROID_TIMED_OUTPUT
86 default n
87
88 config ANDROID_LOW_MEMORY_KILLER
89 bool "Android Low Memory Killer"
90 default N
91 ---help---
92 Register processes to be killed when memory is low
93
94 endif # if ANDROID
95
96 endmenu