repo init
[linux-rt-nao.git] / drivers / staging / android / Kconfig
blob604bd1e0d546492d5f8c758ea2ba969f1afc7427
1 menu "Android"
3 config ANDROID
4         bool "Android Drivers"
5         default N
6         ---help---
7           Enable support for various drivers needed on the Android platform
9 config ANDROID_BINDER_IPC
10         bool "Android Binder IPC Driver"
11         default n
13 config ANDROID_LOGGER
14         tristate "Android log driver"
15         default n
17 config ANDROID_RAM_CONSOLE
18         bool "Android RAM buffer console"
19         default n
21 config ANDROID_RAM_CONSOLE_ENABLE_VERBOSE
22         bool "Enable verbose console messages on Android RAM console"
23         default y
24         depends on ANDROID_RAM_CONSOLE
26 menuconfig ANDROID_RAM_CONSOLE_ERROR_CORRECTION
27         bool "Android RAM Console Enable error correction"
28         default n
29         depends on ANDROID_RAM_CONSOLE
30         depends on !ANDROID_RAM_CONSOLE_EARLY_INIT
31         select REED_SOLOMON
32         select REED_SOLOMON_ENC8
33         select REED_SOLOMON_DEC8
35 if ANDROID_RAM_CONSOLE_ERROR_CORRECTION
37 config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_DATA_SIZE
38         int "Android RAM Console Data data size"
39         default 128
40         help
41           Must be a power of 2.
43 config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_ECC_SIZE
44         int "Android RAM Console ECC size"
45         default 16
47 config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE
48         int "Android RAM Console Symbol size"
49         default 8
51 config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_POLYNOMIAL
52         hex "Android RAM Console Polynomial"
53         default 0x19 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 4)
54         default 0x29 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 5)
55         default 0x61 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 6)
56         default 0x89 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 7)
57         default 0x11d if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 8)
59 endif # ANDROID_RAM_CONSOLE_ERROR_CORRECTION
61 config ANDROID_RAM_CONSOLE_EARLY_INIT
62         bool "Start Android RAM console early"
63         default n
64         depends on ANDROID_RAM_CONSOLE
66 config ANDROID_RAM_CONSOLE_EARLY_ADDR
67         hex "Android RAM console virtual address"
68         default 0
69         depends on ANDROID_RAM_CONSOLE_EARLY_INIT
71 config ANDROID_RAM_CONSOLE_EARLY_SIZE
72         hex "Android RAM console buffer size"
73         default 0
74         depends on ANDROID_RAM_CONSOLE_EARLY_INIT
76 config ANDROID_TIMED_GPIO
77         tristate "Android timed gpio driver"
78         depends on GENERIC_GPIO
79         default n
81 config ANDROID_LOW_MEMORY_KILLER
82         bool "Android Low Memory Killer"
83         default N
84         ---help---
85           Register processes to be killed when memory is low
87 endmenu