Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

menuconfig CONFIG_ION
	bool "Ion Memory Manager"
	depends on CONFIG_HAVE_MEMBLOCK && CONFIG_HAS_DMA && CONFIG_MMU
	select CONFIG_GENERIC_ALLOCATOR
	select CONFIG_DMA_SHARED_BUFFER
	---help---
	  Chose this option to enable the CONFIG_ION Memory Manager,
	  used by Android to efficiently allocate buffers
	  from userspace that can be shared between drivers.
	  If you're not using Android its probably safe to
	  say N here.

config CONFIG_ION_TEST
	tristate "Ion Test Device"
	depends on CONFIG_ION
	help
	  Choose this option to create a device that can be used to test the
	  kernel and device side CONFIG_ION functions.

config CONFIG_ION_DUMMY
	bool "Dummy Ion driver"
	depends on CONFIG_ION
	help
	  Provides a dummy CONFIG_ION driver that registers the
	  /dev/ion device and some basic heaps. This can
	  be used for testing the CONFIG_ION infrastructure if
	  one doesn't have access to hardware drivers that
	  use CONFIG_ION.

config CONFIG_ION_TEGRA
	tristate "Ion for Tegra"
	depends on CONFIG_ARCH_TEGRA && CONFIG_ION
	help
	  Choose this option if you wish to use ion on an nVidia Tegra.

config CONFIG_ION_HISI
	tristate "Ion for Hisilicon"
	depends on CONFIG_ARCH_HISI && CONFIG_ION
	select CONFIG_ION_OF
	help
	  Choose this option if you wish to use ion on Hisilicon Platform.

source "drivers/staging/android/ion/hisilicon/Kconfig"

config CONFIG_ION_OF
	bool "Devicetree support for Ion"
	depends on CONFIG_ION && CONFIG_OF_ADDRESS
	help
	  Provides base support for defining Ion heaps in devicetree
	  and setting them up. Also includes functions for platforms
	  to parse the devicetree and expand for their own custom
	  extensions

	  If using Ion and devicetree, you should say Y here