[PATCH v6 1/3] ARM: kconfig: allow PCI support to be selected with ARCH_MULTIPLATFORM

Rob Herring robherring2 at gmail.com
Wed May 14 07:01:35 PDT 2014


On Wed, May 7, 2014 at 11:07 AM, Will Deacon <will.deacon at arm.com> wrote:
> When targetting ARCH_MULTIPLATFORM, we may include support for SoCs with
> PCI-capable devices (e.g. mach-virt with virtio-pci).
>
> This patch allows PCI support to be selected for these SoCs by selecting
> CONFIG_MIGHT_HAVE_PCI when CONFIG_ARCH_MULTIPLATFORM=y.

I generally think we should select all options for multi-platform that
only serve to hide other options like this.

You should remove the MIGHT_HAVE_PCI selections from all the
multi-platform enabled platforms as well.

Rob

>
> Signed-off-by: Will Deacon <will.deacon at arm.com>
> ---
>  arch/arm/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index db3c5414223e..860bea828ac4 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -314,6 +314,7 @@ config ARCH_MULTIPLATFORM
>         select CLKSRC_OF
>         select COMMON_CLK
>         select GENERIC_CLOCKEVENTS
> +       select MIGHT_HAVE_PCI
>         select MULTI_IRQ_HANDLER
>         select SPARSE_IRQ
>         select USE_OF
> --
> 1.9.2
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel



More information about the linux-arm-kernel mailing list