• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1menuconfig GOLDFISH
2	bool "Platform support for Goldfish virtual devices"
3	depends on X86_32 || X86_64 || ARM || ARM64 || MIPS
4	---help---
5	  Say Y here to get to see options for the Goldfish virtual platform.
6	  This option alone does not add any kernel code.
7
8	  Unless you are building for the Android Goldfish emulator say N here.
9
10if GOLDFISH
11
12config GOLDFISH_BUS
13	bool "Goldfish platform bus"
14	---help---
15	  This is a virtual bus to host Goldfish Android Virtual Devices.
16
17config GOLDFISH_PIPE
18	tristate "Goldfish virtual device for QEMU pipes"
19    depends on HAS_IOMEM
20	---help---
21	  This is a virtual device to drive the QEMU pipe interface used by
22	  the Goldfish Android Virtual Device.
23
24config GOLDFISH_FWDATA
25	tristate "Goldfish virtual device for Android-specific firmware data"
26	depends on ACPI
27	---help---
28	  This is a virtual device to parse Android-specific data (e.g. fstab
29	  configuration) stored in firmware (e.g. ACPI tables), and present it
30	  to userspace via sysfs. Currently, Android looks for some information
31	  in /proc/device-tree/firmware/android/, which does not exist on
32	  platforms that use ACPI instead of Device Tree, such as Goldfish
33	  (Ranchu) x86/x86_64. The driver for this device creates a directory in
34	  sysfs with the same layout.
35
36endif # GOLDFISH
37