[PATCH] iommu/fsl: Fix the dependency check for PAMU driver.
Scott Wood
scottwood at freescale.com
Fri May 15 04:13:14 AEST 2015
On Thu, 2015-05-14 at 23:11 +0530, Varun Sethi wrote:
> Fix the build dependency for the PAMU driver. PPC32 build dependecy is incorrect.
> Add the CORENET_GENERIC build dependency for PAMU driver.
>
> Signed-off-by: Varun Sethi <Varun.Sethi at freescale.com>
> ---
> drivers/iommu/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
> index 1ae4e54..4ace8db 100644
> --- a/drivers/iommu/Kconfig
> +++ b/drivers/iommu/Kconfig
> @@ -50,7 +50,7 @@ config OF_IOMMU
>
> config FSL_PAMU
> bool "Freescale IOMMU support"
> - depends on PPC32
> + depends on CORENET_GENERIC
> depends on PPC_E500MC || COMPILE_TEST
> select IOMMU_API
> select GENERIC_ALLOCATOR
CORENET_GENERIC is for board support. There is no guarantee that all
corenet boards will use it. You already depend on PPC_E500MC; why do
you need anything else (besides probably getting rid of "||
COMPILE_TEST" which is useless if you do add CORENET_GENERIC, because
CORENET_GENERIC implies PPC_E500MC)?
-Scott
More information about the Linuxppc-dev
mailing list