Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1menu "Android"
2
3config 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
10if ANDROID
11
12config ANDROID_BINDER_IPC
13 bool "Android Binder IPC Driver"
14 default n
15
16config ANDROID_LOGGER
17 tristate "Android log driver"
18 default n
19
20config ANDROID_RAM_CONSOLE
21 bool "Android RAM buffer console"
22 default n
23
24config 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
29menuconfig 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
38if ANDROID_RAM_CONSOLE_ERROR_CORRECTION
39
40config 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
46config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_ECC_SIZE
47 int "Android RAM Console ECC size"
48 default 16
49
50config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE
51 int "Android RAM Console Symbol size"
52 default 8
53
54config 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
62endif # ANDROID_RAM_CONSOLE_ERROR_CORRECTION
63
64config ANDROID_RAM_CONSOLE_EARLY_INIT
65 bool "Start Android RAM console early"
66 default n
67 depends on ANDROID_RAM_CONSOLE
68
69config ANDROID_RAM_CONSOLE_EARLY_ADDR
70 hex "Android RAM console virtual address"
71 default 0
72 depends on ANDROID_RAM_CONSOLE_EARLY_INIT
73
74config ANDROID_RAM_CONSOLE_EARLY_SIZE
75 hex "Android RAM console buffer size"
76 default 0
77 depends on ANDROID_RAM_CONSOLE_EARLY_INIT
78
79config ANDROID_TIMED_OUTPUT
80 bool "Timed output class driver"
81 default y
82
83config ANDROID_TIMED_GPIO
84 tristate "Android timed gpio driver"
85 depends on GENERIC_GPIO && ANDROID_TIMED_OUTPUT
86 default n
87
88config 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
94endif # if ANDROID
95
96endmenu