menu "Android"

config ANDROID7
	bool "Android Drivers"
	depends on ARM64
	---help---
	  Enable support for various drivers needed on the Android platform

if ANDROID7

config ANDROID7_BINDER_IPC
	bool "Android Binder IPC Driver"
	depends on MMU
	default m
	---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 KYDROID2_BINDER_MULTINODE
	bool "Kydroid multiple binder devices"
	depends on ANDROID_BINDER_IPC && SYSFS
	default y
	help
	  Provide multiple binder devices in /dev/binders/.

          Add and remove binder device through /sys/class/binder/device_list.

config ANDROID7_BINDER_IPC_32BIT
	bool
	depends on !64BIT && ANDROID7_BINDER_IPC
	default n
	---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 ANDROID7

endmenu
