lkml.org 
[lkml]   [2017]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] iommu/rockchip: Remove build dependency on ARM
Date
Hi Jeffy,

Am Mittwoch, 10. Mai 2017, 18:28:12 CEST schrieb Jeffy Chen:
> This patch removes the build dependency on ARM, so we can build on arm64
> as well.
>
> Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
> ---
>
> drivers/iommu/Kconfig | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
> index 6ee3a25..cb26f45 100644
> --- a/drivers/iommu/Kconfig
> +++ b/drivers/iommu/Kconfig
> @@ -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



> depends on ARCH_ROCKCHIP || COMPILE_TEST
> select IOMMU_API
> select ARM_DMA_USE_IOMMU


\
 
 \ /
  Last update: 2017-05-10 21:21    [W:1.210 / U:0.664 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site