upload tizen1.0 source
[kernel/linux-2.6.36.git] / 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 if ANDROID
10
11 config ANDROID_BINDER_IPC
12         bool "Android Binder IPC Driver"
13         default n
14
15 config ANDROID_LOGGER
16         tristate "Android log driver"
17         default n
18
19 config ANDROID_RAM_CONSOLE
20         bool "Android RAM buffer console"
21         default n
22
23 config 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
28 menuconfig 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
37 if ANDROID_RAM_CONSOLE_ERROR_CORRECTION
38
39 config 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
45 config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_ECC_SIZE
46         int "Android RAM Console ECC size"
47         default 16
48
49 config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE
50         int "Android RAM Console Symbol size"
51         default 8
52
53 config 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
61 endif # ANDROID_RAM_CONSOLE_ERROR_CORRECTION
62
63 config ANDROID_RAM_CONSOLE_EARLY_INIT
64         bool "Start Android RAM console early"
65         default n
66         depends on ANDROID_RAM_CONSOLE
67
68 config ANDROID_RAM_CONSOLE_EARLY_ADDR
69         hex "Android RAM console virtual address"
70         default 0
71         depends on ANDROID_RAM_CONSOLE_EARLY_INIT
72
73 config ANDROID_RAM_CONSOLE_EARLY_SIZE
74         hex "Android RAM console buffer size"
75         default 0
76         depends on ANDROID_RAM_CONSOLE_EARLY_INIT
77
78 config ANDROID_TIMED_OUTPUT
79         bool "Timed output class driver"
80         default y
81
82 config ANDROID_TIMED_GPIO
83         tristate "Android timed gpio driver"
84         depends on GENERIC_GPIO && ANDROID_TIMED_OUTPUT
85         default n
86
87 config 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
93 endif # if ANDROID
94
95 endmenu