Greg Kroah-Hartman | 777783e | 2014-10-16 14:40:38 +0200 | [diff] [blame] | 1 | menu "Android" |
| 2 | |
| 3 | config ANDROID |
| 4 | bool "Android Drivers" |
| 5 | ---help--- |
| 6 | Enable support for various drivers needed on the Android platform |
| 7 | |
| 8 | if ANDROID |
| 9 | |
| 10 | config 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 Coenen | ac4812c | 2017-02-03 14:40:48 -0800 | [diff] [blame] | 22 | config ANDROID_BINDER_DEVICES |
| 23 | string "Android Binder devices" |
| 24 | depends on ANDROID_BINDER_IPC |
Rob Herring | dde04eb | 2017-02-15 09:35:15 -0600 | [diff] [blame] | 25 | default "binder,hwbinder" |
Martijn Coenen | ac4812c | 2017-02-03 14:40:48 -0800 | [diff] [blame] | 26 | ---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-Hartman | 777783e | 2014-10-16 14:40:38 +0200 | [diff] [blame] | 34 | config ANDROID_BINDER_IPC_32BIT |
| 35 | bool |
| 36 | depends on !64BIT && ANDROID_BINDER_IPC |
| 37 | default y |
| 38 | ---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 | |
| 47 | endif # if ANDROID |
| 48 | |
| 49 | endmenu |