Skip to content

Commit

Permalink
vfio: amba: add the VFIO for AMBA devices module to Kconfig
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Antonios Motakis authored and Alex Williamson committed Mar 16, 2015
1 parent 36fe431 commit b13329a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
10 changes: 10 additions & 0 deletions drivers/vfio/platform/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
4 changes: 4 additions & 0 deletions drivers/vfio/platform/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b13329a

Please sign in to comment.