[PATCH] iommu: dart: depend on ARCH_APPLE rather than ARM64

Peter Robinson pbrobinson at gmail.com
Sat Jan 7 22:53:34 PST 2023


It's a better fit for the Apple DART driver to depend
on ARCH_APPLE than just the ARM64 architecture.

Signed-off-by: Peter Robinson <pbrobinson at gmail.com>
---
 drivers/iommu/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index 79707685d54a..6fa22f29d884 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -70,7 +70,7 @@ config IOMMU_IO_PGTABLE_ARMV7S_SELFTEST
 config IOMMU_IO_PGTABLE_DART
 	bool "Apple DART Formats"
 	select IOMMU_IO_PGTABLE
-	depends on ARM64 || (COMPILE_TEST && !GENERIC_ATOMIC64)
+	depends on ARCH_APPLE || (COMPILE_TEST && !GENERIC_ATOMIC64)
 	help
 	  Enable support for the Apple DART pagetable formats. These include
 	  the t8020 and t6000/t8110 DART formats used in Apple M1/M2 family
-- 
2.39.0




More information about the linux-arm-kernel mailing list