xref: /linux/drivers/android/Kconfig (revision 9e18d0c82f0c07f2a41898d4adbb698a953403ee)
1777783e0SGreg Kroah-Hartmanmenu "Android"
2777783e0SGreg Kroah-Hartman
3777783e0SGreg Kroah-Hartmanconfig ANDROID
4777783e0SGreg Kroah-Hartman	bool "Android Drivers"
5777783e0SGreg Kroah-Hartman	---help---
6777783e0SGreg Kroah-Hartman	  Enable support for various drivers needed on the Android platform
7777783e0SGreg Kroah-Hartman
8777783e0SGreg Kroah-Hartmanif ANDROID
9777783e0SGreg Kroah-Hartman
10777783e0SGreg Kroah-Hartmanconfig ANDROID_BINDER_IPC
11777783e0SGreg Kroah-Hartman	bool "Android Binder IPC Driver"
12777783e0SGreg Kroah-Hartman	depends on MMU
13777783e0SGreg Kroah-Hartman	default n
14777783e0SGreg Kroah-Hartman	---help---
15777783e0SGreg Kroah-Hartman	  Binder is used in Android for both communication between processes,
16777783e0SGreg Kroah-Hartman	  and remote method invocation.
17777783e0SGreg Kroah-Hartman
18777783e0SGreg Kroah-Hartman	  This means one Android process can call a method/routine in another
19777783e0SGreg Kroah-Hartman	  Android process, using Binder to identify, invoke and pass arguments
20777783e0SGreg Kroah-Hartman	  between said processes.
21777783e0SGreg Kroah-Hartman
22ac4812c5SMartijn Coenenconfig ANDROID_BINDER_DEVICES
23ac4812c5SMartijn Coenen	string "Android Binder devices"
24ac4812c5SMartijn Coenen	depends on ANDROID_BINDER_IPC
25*9e18d0c8SMartijn Coenen	default "binder,hwbinder,vndbinder"
26ac4812c5SMartijn Coenen	---help---
27ac4812c5SMartijn Coenen	  Default value for the binder.devices parameter.
28ac4812c5SMartijn Coenen
29ac4812c5SMartijn Coenen	  The binder.devices parameter is a comma-separated list of strings
30ac4812c5SMartijn Coenen	  that specifies the names of the binder device nodes that will be
31ac4812c5SMartijn Coenen	  created. Each binder device has its own context manager, and is
32ac4812c5SMartijn Coenen	  therefore logically separated from the other devices.
33ac4812c5SMartijn Coenen
34777783e0SGreg Kroah-Hartmanconfig ANDROID_BINDER_IPC_32BIT
35777783e0SGreg Kroah-Hartman	bool
36777783e0SGreg Kroah-Hartman	depends on !64BIT && ANDROID_BINDER_IPC
37777783e0SGreg Kroah-Hartman	default y
38777783e0SGreg Kroah-Hartman	---help---
39777783e0SGreg Kroah-Hartman	  The Binder API has been changed to support both 32 and 64bit
40777783e0SGreg Kroah-Hartman	  applications in a mixed environment.
41777783e0SGreg Kroah-Hartman
42777783e0SGreg Kroah-Hartman	  Enable this to support an old 32-bit Android user-space (v4.4 and
43777783e0SGreg Kroah-Hartman	  earlier).
44777783e0SGreg Kroah-Hartman
45777783e0SGreg Kroah-Hartman	  Note that enabling this will break newer Android user-space.
46777783e0SGreg Kroah-Hartman
47777783e0SGreg Kroah-Hartmanendif # if ANDROID
48777783e0SGreg Kroah-Hartman
49777783e0SGreg Kroah-Hartmanendmenu
50