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