Skip to contentSkip to conversation

iommu/rockchip: Remove build dependency on ARM

PATCH In review Jeffy Chen 2 participants 2 messages May 10, 2017 IOMMU

lore
Share & tools
lore

Jeffy Chen

author
#0 lore raw

PATCH 1/1 iommu/rockchip: Remove build dependency on ARM

This patch removes the build dependency on ARM, so we can build on arm64 as well.

---

 drivers/iommu/Kconfig | 1 -
 1 file changed, 1 deletion(-)
drivers/iommu/Kconfig +0 -1
index 6ee3a25..cb26f45 100644
@@ -219,7 +219,6 @@ config OMAP_IOMMU_DEBUG
 
 config ROCKCHIP_IOMMU
 	bool "Rockchip IOMMU Support"
-	depends on ARM
 	depends on ARCH_ROCKCHIP || COMPILE_TEST
 	select IOMMU_API
 	select ARM_DMA_USE_IOMMU
Signature · 1 line
2.1.4
#1 lore raw

Hi Jeffy,

Am Mittwoch, 10. Mai 2017, 18:28:12 CEST schrieb Jeffy Chen:

Quoted 14 lines

This patch removes the build dependency on ARM, so we can build on arm64 as well.

---

 drivers/iommu/Kconfig | 1 -
 1 file changed, 1 deletion(-)
drivers/iommu/Kconfig +0 -0
index 6ee3a25..cb26f45 100644

drivers/iommu/Kconfig config OMAP_IOMMU_DEBUG · line 222

Quoted 4 lines
drivers/iommu/Kconfig +0 -1
@@ -219,7 +219,6 @@ config OMAP_IOMMU_DEBUG
 
 config ROCKCHIP_IOMMU
 	bool "Rockchip IOMMU Support"
-	depends on ARM

The previous patch from Simon Xue that was delayed due to the drm changes needed did a

	depends in ARM || ARM64

instead.

I'm not sure which variant is better and Rockchip is currently not providing any other cpu architectures, just noting the difference and letting you and Joerg decide which one to choose :-) .

Enabling the iommu on arm64 looks good to me in any case.

Heiko

Quoted 3 lines
drivers/iommu/Kconfig +0 -0
 	depends on ARCH_ROCKCHIP || COMPILE_TEST
 	select IOMMU_API
 	select ARM_DMA_USE_IOMMU