Skip to contentSkip to conversation

iommu: dart: depend on ARCH_APPLE rather than ARM64

PATCH New Peter Robinson 1 participant 1 message Jan 8, 2023 IOMMU

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iommu: dart: depend on ARCH_APPLE rather than ARM64

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

---
 drivers/iommu/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iommu/Kconfig +1 -1
index 79707685d54a..6fa22f29d884 100644
@@ -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
Signature · 1 line
2.39.0