blob: 247194992374b233bc80e9e5cd5f6ca269f27e28 [file] [log] [blame]
Greg Kroah-Hartman6dc9c9e2008-12-19 17:21:40 -08001menu "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
Greg Kroah-Hartmand604fc92009-06-04 10:40:37 -07009if ANDROID
10
Arve Hjønnevåg457b9a62008-12-19 17:40:44 -080011config ANDROID_BINDER_IPC
Greg Kroah-Hartman7a9c67a2008-12-20 20:20:02 -080012 bool "Android Binder IPC Driver"
13 default n
Arve Hjønnevåg457b9a62008-12-19 17:40:44 -080014
Robert Love875f1942008-12-19 18:02:58 -080015config ANDROID_LOGGER
16 tristate "Android log driver"
17 default n
18
Arve Hjønnevågadc567e2008-12-19 18:12:11 -080019config 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
Arve Hjønnevåg5701c052009-01-30 20:21:09 -080032 depends on !ANDROID_RAM_CONSOLE_EARLY_INIT
Arve Hjønnevågadc567e2008-12-19 18:12:11 -080033 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
Mike Lockwood241e1282009-05-04 15:48:00 -070078config ANDROID_TIMED_OUTPUT
79 bool "Timed output class driver"
80 default y
81
Mike Lockwood99f41132008-12-19 18:18:16 -080082config ANDROID_TIMED_GPIO
83 tristate "Android timed gpio driver"
Mike Lockwood241e1282009-05-04 15:48:00 -070084 depends on GENERIC_GPIO && ANDROID_TIMED_OUTPUT
Mike Lockwood99f41132008-12-19 18:18:16 -080085 default n
86
San Mehat08b88cc2008-12-20 00:48:38 -080087config 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
Greg Kroah-Hartmand604fc92009-06-04 10:40:37 -070093endif # if ANDROID
94
Greg Kroah-Hartman6dc9c9e2008-12-19 17:21:40 -080095endmenu