Commit b13329ad authored by Antonios Motakis's avatar Antonios Motakis Committed by Alex Williamson

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: default avatarAntonios Motakis <a.motakis@virtualopensystems.com>
Signed-off-by: default avatarBaptiste Reynal <b.reynal@virtualopensystems.com>
Reviewed-by: default avatarEric Auger <eric.auger@linaro.org>
Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent 36fe431f
...@@ -7,3 +7,13 @@ config VFIO_PLATFORM ...@@ -7,3 +7,13 @@ config VFIO_PLATFORM
framework. framework.
If you don't know what to do here, say N. 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.
...@@ -2,3 +2,7 @@ ...@@ -2,3 +2,7 @@
vfio-platform-y := vfio_platform.o vfio_platform_common.o vfio-platform-y := vfio_platform.o vfio_platform_common.o
obj-$(CONFIG_VFIO_PLATFORM) += vfio-platform.o obj-$(CONFIG_VFIO_PLATFORM) += vfio-platform.o
vfio-amba-y := vfio_amba.o
obj-$(CONFIG_VFIO_AMBA) += vfio-amba.o
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment