Skip to content

Commit faf8e75

Browse files
geertujoergroedel
authored andcommitted
iommu/dart: APPLE_DART should depend on ARCH_APPLE
The Apple DART (Device Address Resolution Table) IOMMU is only present on Apple ARM SoCs like the M1. Hence add a dependency on ARCH_APPLE, to prevent asking the user about this driver when configuring a kernel without support for the Apple Silicon SoC family. Signed-off-by: Geert Uytterhoeven <[email protected]> Acked-by: Sven Peter <[email protected]> Link: https://lore.kernel.org/r/44fcf525273b32c9afcd7e99acbd346d47f0e047.1628603162.git.geert+renesas@glider.be Signed-off-by: Joerg Roedel <[email protected]>
1 parent 46d1fb0 commit faf8e75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/iommu/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ config SPAPR_TCE_IOMMU
292292

293293
config APPLE_DART
294294
tristate "Apple DART IOMMU Support"
295-
depends on ARM64 || (COMPILE_TEST && !GENERIC_ATOMIC64)
295+
depends on ARCH_APPLE || (COMPILE_TEST && !GENERIC_ATOMIC64)
296296
select IOMMU_API
297297
select IOMMU_IO_PGTABLE_LPAE
298298
default ARCH_APPLE

0 commit comments

Comments
 (0)