Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 353649e5 authored by Sudeep Dutt's avatar Sudeep Dutt Committed by Greg Kroah-Hartman
Browse files

iommu: Allow iova to be used without requiring IOMMU_SUPPORT



iova is a library which can be built without IOMMU_SUPPORT

Signed-off-by: default avatarSudeep Dutt <sudeep.dutt@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 234bc0d6
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -12,6 +12,9 @@ menuconfig IOMMU_SUPPORT
	  remap DMA requests and/or remap interrupts from other devices on the
	  remap DMA requests and/or remap interrupts from other devices on the
	  system.
	  system.


config IOMMU_IOVA
	tristate

if IOMMU_SUPPORT
if IOMMU_SUPPORT


menu "Generic IOMMU Pagetable Support"
menu "Generic IOMMU Pagetable Support"
@@ -42,9 +45,6 @@ config IOMMU_IO_PGTABLE_LPAE_SELFTEST


endmenu
endmenu


config IOMMU_IOVA
	tristate

config OF_IOMMU
config OF_IOMMU
       def_bool y
       def_bool y
       depends on OF && IOMMU_API
       depends on OF && IOMMU_API