vfio: amba: add the VFIO for AMBA devices module to Kconfig
authorAntonios Motakis <a.motakis@virtualopensystems.com>
Mon, 16 Mar 2015 20:08:45 +0000 (14:08 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 16 Mar 2015 20:08:45 +0000 (14:08 -0600)
Enable building the VFIO AMBA driver. VFIO_AMBA depends on VFIO_PLATFORM,
since it is sharing a portion of the code, and it is essentially implemented
as a platform device whose resources are discovered via AMBA specific APIs
in the kernel.

Signed-off-by: Antonios Motakis <a.motakis@virtualopensystems.com>
Signed-off-by: Baptiste Reynal <b.reynal@virtualopensystems.com>
Reviewed-by: Eric Auger <eric.auger@linaro.org>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/platform/Kconfig
drivers/vfio/platform/Makefile

index c51af17b4e490e68a9cd248d85c983ba022abc29..c0a3bff8baeef62c9246ffc01e09597ea5e123ae 100644 (file)
@@ -7,3 +7,13 @@ config VFIO_PLATFORM
          framework.
 
          If you don't know what to do here, say N.
+
+config VFIO_AMBA
+       tristate "VFIO support for AMBA devices"
+       depends on VFIO_PLATFORM && ARM_AMBA
+       help
+         Support for ARM AMBA devices with VFIO. This is required to make
+         use of ARM AMBA devices present on the system using the VFIO
+         framework.
+
+         If you don't know what to do here, say N.
index 279862b74850baf151d3d9789d5862e84e411961..1957170ae429c1980f74e75030fc05689b9354b4 100644 (file)
@@ -2,3 +2,7 @@
 vfio-platform-y := vfio_platform.o vfio_platform_common.o
 
 obj-$(CONFIG_VFIO_PLATFORM) += vfio-platform.o
+
+vfio-amba-y := vfio_amba.o
+
+obj-$(CONFIG_VFIO_AMBA) += vfio-amba.o
This page took 0.025234 seconds and 5 git commands to generate.