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 259e18d0c8SMartijn 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 35e8d2ed7dSJisheng Zhang bool "Use old (Android 4.4 and earlier) 32-bit binder API" 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 47*4175e2b4SSherry Yangconfig ANDROID_BINDER_IPC_SELFTEST 48*4175e2b4SSherry Yang bool "Android Binder IPC Driver Selftest" 49*4175e2b4SSherry Yang depends on ANDROID_BINDER_IPC 50*4175e2b4SSherry Yang ---help--- 51*4175e2b4SSherry Yang This feature allows binder selftest to run. 52*4175e2b4SSherry Yang 53*4175e2b4SSherry Yang Binder selftest checks the allocation and free of binder buffers 54*4175e2b4SSherry Yang exhaustively with combinations of various buffer sizes and 55*4175e2b4SSherry Yang alignments. 56*4175e2b4SSherry Yang 57777783e0SGreg Kroah-Hartmanendif # if ANDROID 58777783e0SGreg Kroah-Hartman 59777783e0SGreg Kroah-Hartmanendmenu 60