Kconfig revision 08b88cc7844bf984e2e474134c207bb2c46c007d
1menu "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
9config ANDROID_BINDER_IPC
10	tristate "Android Binder IPC Driver"
11	default y
12
13config ANDROID_LOGGER
14	tristate "Android log driver"
15	default n
16
17config ANDROID_RAM_CONSOLE
18	bool "Android RAM buffer console"
19	default n
20
21config 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
26menuconfig 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
34if ANDROID_RAM_CONSOLE_ERROR_CORRECTION
35
36config 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
42config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_ECC_SIZE
43	int "Android RAM Console ECC size"
44	default 16
45
46config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE
47	int "Android RAM Console Symbol size"
48	default 8
49
50config 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
58endif # ANDROID_RAM_CONSOLE_ERROR_CORRECTION
59
60config ANDROID_RAM_CONSOLE_EARLY_INIT
61	bool "Start Android RAM console early"
62	default n
63	depends on ANDROID_RAM_CONSOLE
64
65config ANDROID_RAM_CONSOLE_EARLY_ADDR
66	hex "Android RAM console virtual address"
67	default 0
68	depends on ANDROID_RAM_CONSOLE_EARLY_INIT
69
70config ANDROID_RAM_CONSOLE_EARLY_SIZE
71	hex "Android RAM console buffer size"
72	default 0
73	depends on ANDROID_RAM_CONSOLE_EARLY_INIT
74
75config ANDROID_TIMED_GPIO
76	tristate "Android timed gpio driver"
77	depends on GENERIC_GPIO
78	default n
79
80config 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
86endmenu
87