• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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	bool "Android Binder IPC Driver"
11	default n
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	depends on !ANDROID_RAM_CONSOLE_EARLY_INIT
31	select REED_SOLOMON
32	select REED_SOLOMON_ENC8
33	select REED_SOLOMON_DEC8
34
35if ANDROID_RAM_CONSOLE_ERROR_CORRECTION
36
37config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_DATA_SIZE
38	int "Android RAM Console Data data size"
39	default 128
40	help
41	  Must be a power of 2.
42
43config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_ECC_SIZE
44	int "Android RAM Console ECC size"
45	default 16
46
47config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE
48	int "Android RAM Console Symbol size"
49	default 8
50
51config ANDROID_RAM_CONSOLE_ERROR_CORRECTION_POLYNOMIAL
52	hex "Android RAM Console Polynomial"
53	default 0x19 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 4)
54	default 0x29 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 5)
55	default 0x61 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 6)
56	default 0x89 if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 7)
57	default 0x11d if (ANDROID_RAM_CONSOLE_ERROR_CORRECTION_SYMBOL_SIZE = 8)
58
59endif # ANDROID_RAM_CONSOLE_ERROR_CORRECTION
60
61config ANDROID_RAM_CONSOLE_EARLY_INIT
62	bool "Start Android RAM console early"
63	default n
64	depends on ANDROID_RAM_CONSOLE
65
66config ANDROID_RAM_CONSOLE_EARLY_ADDR
67	hex "Android RAM console virtual address"
68	default 0
69	depends on ANDROID_RAM_CONSOLE_EARLY_INIT
70
71config ANDROID_RAM_CONSOLE_EARLY_SIZE
72	hex "Android RAM console buffer size"
73	default 0
74	depends on ANDROID_RAM_CONSOLE_EARLY_INIT
75
76config ANDROID_TIMED_OUTPUT
77	bool "Timed output class driver"
78	default y
79
80config ANDROID_TIMED_GPIO
81	tristate "Android timed gpio driver"
82	depends on GENERIC_GPIO && ANDROID_TIMED_OUTPUT
83	default n
84
85config ANDROID_LOW_MEMORY_KILLER
86	bool "Android Low Memory Killer"
87	default N
88	---help---
89	  Register processes to be killed when memory is low
90
91endmenu
92