blob: ee4880bfdcdc98d21f139bdce51bb5776f3f17ab [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Greg Kroah-Hartman777783e2014-10-16 14:40:38 +02002menu "Android"
3
4config ANDROID
5 bool "Android Drivers"
6 ---help---
7 Enable support for various drivers needed on the Android platform
8
9if ANDROID
10
11config ANDROID_BINDER_IPC
12 bool "Android Binder IPC Driver"
Martijn Coenen1190b4e2018-05-11 01:45:24 -070013 depends on MMU && !M68K
Greg Kroah-Hartman777783e2014-10-16 14:40:38 +020014 default n
15 ---help---
16 Binder is used in Android for both communication between processes,
17 and remote method invocation.
18
19 This means one Android process can call a method/routine in another
20 Android process, using Binder to identify, invoke and pass arguments
21 between said processes.
22
Martijn Coenenac4812c2017-02-03 14:40:48 -080023config ANDROID_BINDER_DEVICES
24 string "Android Binder devices"
25 depends on ANDROID_BINDER_IPC
Martijn Coenen9e18d0c2017-07-28 13:56:07 +020026 default "binder,hwbinder,vndbinder"
Martijn Coenenac4812c2017-02-03 14:40:48 -080027 ---help---
28 Default value for the binder.devices parameter.
29
30 The binder.devices parameter is a comma-separated list of strings
31 that specifies the names of the binder device nodes that will be
32 created. Each binder device has its own context manager, and is
33 therefore logically separated from the other devices.
34
Sherry Yang4175e2b2017-08-23 08:46:40 -070035config ANDROID_BINDER_IPC_SELFTEST
36 bool "Android Binder IPC Driver Selftest"
37 depends on ANDROID_BINDER_IPC
38 ---help---
39 This feature allows binder selftest to run.
40
41 Binder selftest checks the allocation and free of binder buffers
42 exhaustively with combinations of various buffer sizes and
43 alignments.
44
Greg Kroah-Hartman777783e2014-10-16 14:40:38 +020045endif # if ANDROID
46
47endmenu