Linux-libre 5.3.12-gnu
[librecmc/linux-libre.git] / drivers / staging / android / Kconfig
1 # SPDX-License-Identifier: GPL-2.0
2 menu "Android"
3
4 if ANDROID
5
6 config ASHMEM
7         bool "Enable the Anonymous Shared Memory Subsystem"
8         depends on SHMEM
9         help
10           The ashmem subsystem is a new shared memory allocator, similar to
11           POSIX SHM but with different behavior and sporting a simpler
12           file-based API.
13
14           It is, in theory, a good memory allocator for low-memory devices,
15           because it can discard shared memory units when under memory pressure.
16
17 config ANDROID_VSOC
18         tristate "Android Virtual SoC support"
19         depends on PCI_MSI
20         help
21           This option adds support for the Virtual SoC driver needed to boot
22           a 'cuttlefish' Android image inside QEmu. The driver interacts with
23           a QEmu ivshmem device. If built as a module, it will be called vsoc.
24
25 source "drivers/staging/android/ion/Kconfig"
26
27 endif # if ANDROID
28
29 endmenu