diff mbox series

iommu: dart: depend on ARCH_APPLE rather than ARM64

Message ID 20230108065334.397200-1-pbrobinson@gmail.com (mailing list archive)
State New, archived
Headers show
Series iommu: dart: depend on ARCH_APPLE rather than ARM64 | expand

Commit Message

Peter Robinson Jan. 8, 2023, 6:53 a.m. UTC
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@gmail.com>
---
 drivers/iommu/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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