From: Simon Xue Date: Wed, 3 May 2017 15:19:40 +0000 (+0200) Subject: iommu/rockchip: Enable Rockchip IOMMU on ARM64 X-Git-Tag: v4.13-rc1~52^2^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4f1fcfe94c1700f9e891adc1ca364a5cef00bbfd;p=thirdparty%2Fkernel%2Flinux.git iommu/rockchip: Enable Rockchip IOMMU on ARM64 This patch makes it possible to compile the rockchip-iommu driver on ARM64, so that it can be used with 64-bit SoCs equipped with this type of IOMMU. Signed-off-by: Simon Xue Signed-off-by: Shunqian Zheng Signed-off-by: Tomasz Figa Reviewed-by: Matthias Brugger Signed-off-by: Joerg Roedel --- diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index 6ee3a25ae7318..99c6366a25519 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig @@ -219,7 +219,7 @@ config OMAP_IOMMU_DEBUG config ROCKCHIP_IOMMU bool "Rockchip IOMMU Support" - depends on ARM + depends on ARM || ARM64 depends on ARCH_ROCKCHIP || COMPILE_TEST select IOMMU_API select ARM_DMA_USE_IOMMU