Merge branch 'linus' into release
[linux-2.6] / drivers / staging / android / Kconfig
1 menu "Android"
2
3 config ANDROID
4         bool "Android Drivers"
5         default N
6         ---help---
7           Enable support for various drivers needed on the Android platform
8
9 config ANDROID_BINDER_IPC
10         bool "Android Binder IPC Driver"
11         default n
12
13 config ANDROID_LOGGER
14         tristate "Android log driver"
15         default n
16
17 config ANDROID_RAM_CONSOLE
18         bool "Android RAM buffer console"
19         default n
20
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
25
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         select REED_SOLOMON
31         select REED_SOLOMON_ENC8
32         select REED_SOLOMON_DEC8
33
34 if ANDROID_RAM_CONSOLE_ERROR_CORRECTION
35
36 config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_DATA_SIZE
37         int "Android RAM Console Data data size"
38         default 128
39         help
40           Must be a power of 2.
41
42 config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_ECC_SIZE
43         int "Android RAM Console ECC size"
44         default 16
45
46 config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE
47         int "Android RAM Console Symbol size"
48         default 8
49
50 config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_POLYNOMIAL
51         hex "Android RAM Console Polynomial"
52         default 0x19 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 4)
53         default 0x29 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 5)
54         default 0x61 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 6)
55         default 0x89 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 7)
56         default 0x11d if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 8)
57
58 endif # ANDROID_RAM_CONSOLE_ERROR_CORRECTION
59
60 config ANDROID_RAM_CONSOLE_EARLY_INIT
61         bool "Start Android RAM console early"
62         default n
63         depends on ANDROID_RAM_CONSOLE
64
65 config ANDROID_RAM_CONSOLE_EARLY_ADDR
66         hex "Android RAM console virtual address"
67         default 0
68         depends on ANDROID_RAM_CONSOLE_EARLY_INIT
69
70 config ANDROID_RAM_CONSOLE_EARLY_SIZE
71         hex "Android RAM console buffer size"
72         default 0
73         depends on ANDROID_RAM_CONSOLE_EARLY_INIT
74
75 config ANDROID_TIMED_GPIO
76         tristate "Android timed gpio driver"
77         depends on GENERIC_GPIO
78         default n
79
80 config ANDROID_LOW_MEMORY_KILLER
81         bool "Android Low Memory Killer"
82         default N
83         ---help---
84           Register processes to be killed when memory is low
85
86 endmenu