1*b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 2777783e0SGreg Kroah-Hartmanmenu "Android" 3777783e0SGreg Kroah-Hartman 4777783e0SGreg Kroah-Hartmanconfig ANDROID 5777783e0SGreg Kroah-Hartman bool "Android Drivers" 6777783e0SGreg Kroah-Hartman ---help--- 7777783e0SGreg Kroah-Hartman Enable support for various drivers needed on the Android platform 8777783e0SGreg Kroah-Hartman 9777783e0SGreg Kroah-Hartmanif ANDROID 10777783e0SGreg Kroah-Hartman 11777783e0SGreg Kroah-Hartmanconfig ANDROID_BINDER_IPC 12777783e0SGreg Kroah-Hartman bool "Android Binder IPC Driver" 13777783e0SGreg Kroah-Hartman depends on MMU 14777783e0SGreg Kroah-Hartman default n 15777783e0SGreg Kroah-Hartman ---help--- 16777783e0SGreg Kroah-Hartman Binder is used in Android for both communication between processes, 17777783e0SGreg Kroah-Hartman and remote method invocation. 18777783e0SGreg Kroah-Hartman 19777783e0SGreg Kroah-Hartman This means one Android process can call a method/routine in another 20777783e0SGreg Kroah-Hartman Android process, using Binder to identify, invoke and pass arguments 21777783e0SGreg Kroah-Hartman between said processes. 22777783e0SGreg Kroah-Hartman 23ac4812c5SMartijn Coenenconfig ANDROID_BINDER_DEVICES 24ac4812c5SMartijn Coenen string "Android Binder devices" 25ac4812c5SMartijn Coenen depends on ANDROID_BINDER_IPC 269e18d0c8SMartijn Coenen default "binder,hwbinder,vndbinder" 27ac4812c5SMartijn Coenen ---help--- 28ac4812c5SMartijn Coenen Default value for the binder.devices parameter. 29ac4812c5SMartijn Coenen 30ac4812c5SMartijn Coenen The binder.devices parameter is a comma-separated list of strings 31ac4812c5SMartijn Coenen that specifies the names of the binder device nodes that will be 32ac4812c5SMartijn Coenen created. Each binder device has its own context manager, and is 33ac4812c5SMartijn Coenen therefore logically separated from the other devices. 34ac4812c5SMartijn Coenen 35777783e0SGreg Kroah-Hartmanconfig ANDROID_BINDER_IPC_32BIT 36e8d2ed7dSJisheng Zhang bool "Use old (Android 4.4 and earlier) 32-bit binder API" 37777783e0SGreg Kroah-Hartman depends on !64BIT && ANDROID_BINDER_IPC 38777783e0SGreg Kroah-Hartman default y 39777783e0SGreg Kroah-Hartman ---help--- 40777783e0SGreg Kroah-Hartman The Binder API has been changed to support both 32 and 64bit 41777783e0SGreg Kroah-Hartman applications in a mixed environment. 42777783e0SGreg Kroah-Hartman 43777783e0SGreg Kroah-Hartman Enable this to support an old 32-bit Android user-space (v4.4 and 44777783e0SGreg Kroah-Hartman earlier). 45777783e0SGreg Kroah-Hartman 46777783e0SGreg Kroah-Hartman Note that enabling this will break newer Android user-space. 47777783e0SGreg Kroah-Hartman 484175e2b4SSherry Yangconfig ANDROID_BINDER_IPC_SELFTEST 494175e2b4SSherry Yang bool "Android Binder IPC Driver Selftest" 504175e2b4SSherry Yang depends on ANDROID_BINDER_IPC 514175e2b4SSherry Yang ---help--- 524175e2b4SSherry Yang This feature allows binder selftest to run. 534175e2b4SSherry Yang 544175e2b4SSherry Yang Binder selftest checks the allocation and free of binder buffers 554175e2b4SSherry Yang exhaustively with combinations of various buffer sizes and 564175e2b4SSherry Yang alignments. 574175e2b4SSherry Yang 58777783e0SGreg Kroah-Hartmanendif # if ANDROID 59777783e0SGreg Kroah-Hartman 60777783e0SGreg Kroah-Hartmanendmenu 61