blob: eb675635ae60c532e800ae6a57c1c9c667b052b8 [file] [log] [blame]
Greg Kroah-Hartman6dc9c9e2008-12-19 17:21:40 -08001menu "Android"
2
3config ANDROID
4 bool "Android Drivers"
Greg Kroah-Hartman2cdf99c2009-10-26 16:03:51 -07005 depends on BROKEN
Greg Kroah-Hartman6dc9c9e2008-12-19 17:21:40 -08006 default N
7 ---help---
8 Enable support for various drivers needed on the Android platform
9
Greg Kroah-Hartmand604fc92009-06-04 10:40:37 -070010if ANDROID
11
Arve Hjønnevåg457b9a62008-12-19 17:40:44 -080012config ANDROID_BINDER_IPC
Greg Kroah-Hartman7a9c67a2008-12-20 20:20:02 -080013 bool "Android Binder IPC Driver"
14 default n
Arve Hjønnevåg457b9a62008-12-19 17:40:44 -080015
Robert Love875f1942008-12-19 18:02:58 -080016config ANDROID_LOGGER
17 tristate "Android log driver"
18 default n
19
Arve Hjønnevågadc567e2008-12-19 18:12:11 -080020config 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
Arve Hjønnevåg5701c052009-01-30 20:21:09 -080033 depends on !ANDROID_RAM_CONSOLE_EARLY_INIT
Arve Hjønnevågadc567e2008-12-19 18:12:11 -080034 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
Mike Lockwood241e1282009-05-04 15:48:00 -070079config ANDROID_TIMED_OUTPUT
80 bool "Timed output class driver"
81 default y
82
Mike Lockwood99f41132008-12-19 18:18:16 -080083config ANDROID_TIMED_GPIO
84 tristate "Android timed gpio driver"
Mike Lockwood241e1282009-05-04 15:48:00 -070085 depends on GENERIC_GPIO && ANDROID_TIMED_OUTPUT
Mike Lockwood99f41132008-12-19 18:18:16 -080086 default n
87
San Mehat08b88cc2008-12-20 00:48:38 -080088config 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
Greg Kroah-Hartmand604fc92009-06-04 10:40:37 -070094endif # if ANDROID
95
Greg Kroah-Hartman6dc9c9e2008-12-19 17:21:40 -080096endmenu