aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/vfio
diff options
context:
space:
mode:
authorAntonios Motakis <a.motakis@virtualopensystems.com>2015-03-16 16:08:45 -0400
committerAlex Williamson <alex.williamson@redhat.com>2015-03-16 16:08:45 -0400
commitb13329adc2cd6c613ffd95b681a0d4cbd399939f (patch)
tree75d7204bd17f0c51839684580cfd8c09e6bda847 /drivers/vfio
parent36fe431f2811fa3b5fed15d272c585d5a47977aa (diff)
vfio: amba: add the VFIO for AMBA devices module to Kconfig
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>
Diffstat (limited to 'drivers/vfio')
-rw-r--r--drivers/vfio/platform/Kconfig10
-rw-r--r--drivers/vfio/platform/Makefile4
2 files changed, 14 insertions, 0 deletions
diff --git a/drivers/vfio/platform/Kconfig b/drivers/vfio/platform/Kconfig
index c51af17b4e49..c0a3bff8baee 100644
--- a/drivers/vfio/platform/Kconfig
+++ b/drivers/vfio/platform/Kconfig
@@ -7,3 +7,13 @@ config VFIO_PLATFORM
7 framework. 7 framework.
8 8
9 If you don't know what to do here, say N. 9 If you don't know what to do here, say N.
10
11config VFIO_AMBA
12 tristate "VFIO support for AMBA devices"
13 depends on VFIO_PLATFORM && ARM_AMBA
14 help
15 Support for ARM AMBA devices with VFIO. This is required to make
16 use of ARM AMBA devices present on the system using the VFIO
17 framework.
18
19 If you don't know what to do here, say N.
diff --git a/drivers/vfio/platform/Makefile b/drivers/vfio/platform/Makefile
index 279862b74850..1957170ae429 100644
--- a/drivers/vfio/platform/Makefile
+++ b/drivers/vfio/platform/Makefile
@@ -2,3 +2,7 @@
2vfio-platform-y := vfio_platform.o vfio_platform_common.o 2vfio-platform-y := vfio_platform.o vfio_platform_common.o
3 3
4obj-$(CONFIG_VFIO_PLATFORM) += vfio-platform.o 4obj-$(CONFIG_VFIO_PLATFORM) += vfio-platform.o
5
6vfio-amba-y := vfio_amba.o
7
8obj-$(CONFIG_VFIO_AMBA) += vfio-amba.o