blob: bb2a5b58162218e7a0b91d7fa3d7f32a800cc6ab [file] [log] [blame]
Greg Kroah-Hartman777783e2014-10-16 14:40:38 +02001menu "Android"
2
3config ANDROID
4 bool "Android Drivers"
5 ---help---
6 Enable support for various drivers needed on the Android platform
7
8if ANDROID
9
10config ANDROID_BINDER_IPC
11 bool "Android Binder IPC Driver"
12 depends on MMU
13 default n
14 ---help---
15 Binder is used in Android for both communication between processes,
16 and remote method invocation.
17
18 This means one Android process can call a method/routine in another
19 Android process, using Binder to identify, invoke and pass arguments
20 between said processes.
21
Martijn Coenen6b7c7122016-09-30 16:08:09 +020022config ANDROID_BINDER_DEVICES
23 string "Android Binder devices"
24 depends on ANDROID_BINDER_IPC
Martijn Coenenb3bf53b2017-03-31 09:33:33 -070025 default "binder,hwbinder,vndbinder"
Martijn Coenen6b7c7122016-09-30 16:08:09 +020026 ---help---
27 Default value for the binder.devices parameter.
28
29 The binder.devices parameter is a comma-separated list of strings
30 that specifies the names of the binder device nodes that will be
31 created. Each binder device has its own context manager, and is
32 therefore logically separated from the other devices.
33
Greg Kroah-Hartman777783e2014-10-16 14:40:38 +020034config ANDROID_BINDER_IPC_32BIT
Zhenhua Huang27ab58b2018-08-06 16:58:39 +080035 bool "Android Binder IPC 32BIT Driver"
Greg Kroah-Hartman777783e2014-10-16 14:40:38 +020036 depends on !64BIT && ANDROID_BINDER_IPC
Zhenhua Huang27ab58b2018-08-06 16:58:39 +080037 default n
Greg Kroah-Hartman777783e2014-10-16 14:40:38 +020038 ---help---
39 The Binder API has been changed to support both 32 and 64bit
40 applications in a mixed environment.
41
42 Enable this to support an old 32-bit Android user-space (v4.4 and
43 earlier).
44
45 Note that enabling this will break newer Android user-space.
46
Sherry Yang435416b2017-06-22 14:37:45 -070047config ANDROID_BINDER_IPC_SELFTEST
48 bool "Android Binder IPC Driver Selftest"
49 depends on ANDROID_BINDER_IPC
50 ---help---
51 This feature allows binder selftest to run.
52
53 Binder selftest checks the allocation and free of binder buffers
54 exhaustively with combinations of various buffer sizes and
55 alignments.
56
Greg Kroah-Hartman777783e2014-10-16 14:40:38 +020057endif # if ANDROID
58
59endmenu