summaryrefslogtreecommitdiffstats
path: root/drivers/android/Kconfig
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-16 14:40:38 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-20 10:30:15 +0800
commit777783e0abae3cab7555bb182776f9ffaa35631a (patch)
treed7f183097ce9fa8c6944d0396c8a47d8b9ddd977 /drivers/android/Kconfig
parentd09e9b160fc18116942101743693f5535bc5136a (diff)
downloadblackbird-op-linux-777783e0abae3cab7555bb182776f9ffaa35631a.tar.gz
blackbird-op-linux-777783e0abae3cab7555bb182776f9ffaa35631a.zip
staging: android: binder: move to the "real" part of the kernel
The Android binder code has been "stable" for many years now. No matter what comes in the future, we are going to have to support this API, so might as well move it to the "real" part of the kernel as there's no real work that needs to be done to the existing code. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/android/Kconfig')
-rw-r--r--drivers/android/Kconfig37
1 files changed, 37 insertions, 0 deletions
diff --git a/drivers/android/Kconfig b/drivers/android/Kconfig
new file mode 100644
index 000000000000..bdfc6c6f4f5a
--- /dev/null
+++ b/drivers/android/Kconfig
@@ -0,0 +1,37 @@
+menu "Android"
+
+config ANDROID
+ bool "Android Drivers"
+ ---help---
+ Enable support for various drivers needed on the Android platform
+
+if ANDROID
+
+config ANDROID_BINDER_IPC
+ bool "Android Binder IPC Driver"
+ depends on MMU
+ default n
+ ---help---
+ Binder is used in Android for both communication between processes,
+ and remote method invocation.
+
+ This means one Android process can call a method/routine in another
+ Android process, using Binder to identify, invoke and pass arguments
+ between said processes.
+
+config ANDROID_BINDER_IPC_32BIT
+ bool
+ depends on !64BIT && ANDROID_BINDER_IPC
+ default y
+ ---help---
+ The Binder API has been changed to support both 32 and 64bit
+ applications in a mixed environment.
+
+ Enable this to support an old 32-bit Android user-space (v4.4 and
+ earlier).
+
+ Note that enabling this will break newer Android user-space.
+
+endif # if ANDROID
+
+endmenu
OpenPOWER on IntegriCloud