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

Commit 71a78cf7 authored by Atul Raut's avatar Atul Raut Committed by Liam Mark
Browse files

dma-mapping: fix build when !CONFIG_ARM_SMMU



Allow compilation when CONFIG_ARM_SMMU is not selected by making
CONFIG_IOMMU_IO_PGTABLE_FAST depend on CONFIG_ARM64_DMA_USE_IOMMU
or CONFIG_ARM_DMA_USE_IOMMU.

CRs-Fixed: 2000526
Change-Id: Iadfc236f848f46e6742a98581dbfdb13c7a2695e
Signed-off-by: default avatarAtul Raut <araut@codeaurora.org>
Signed-off-by: default avatarPatrick Daly <pdaly@codeaurora.org>
parent a3905c90
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ config IOMMU_IO_PGTABLE_ARMV7S_SELFTEST

config IOMMU_IO_PGTABLE_FAST
	bool "Fast ARMv7/v8 Long Descriptor Format"
	select IOMMU_IO_PGTABLE
	depends on ARM64_DMA_USE_IOMMU || ARM_DMA_USE_IOMMU
	help
          Enable support for a subset of the ARM long descriptor pagetable
	  format.  This allocator achieves fast performance by