[PATCH v2] ARM: initial multiplatform support

Arnd Bergmann arnd at arndb.de
Mon Sep 3 12:34:19 EDT 2012


On Friday 31 August 2012, Rob Herring wrote:
> [Rob Herring]: Rebased to not be dependent on the mass mach header rename.
> As a result, omap2plus, imx, mxs and ux500 are not converted. Highbank,
> picoxcell, mvebu, socfpga, and vexpress are converted.
> 
> v2: This version avoids the kconfig symbol name changes and simply moves
> multi-platform enabled platform kconfig option out of the choice option
> and into the platform's mach directory. A separate series fixes DEBUG_LL
> for multi-platform.

This looks like a nice start to play with multiplatform, and I guess it
would be nice to merge it for v3.7.

> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -254,27 +254,9 @@ config MMU
>  #
>  choice
>         prompt "ARM system type"
> +       depends on !ARCH_MULTIPLATFORM
>         default ARCH_VERSATILE

Why did you move ARCH_MULTIPLATFORM out of the "choice" statement?
If we leave it in there, and make it the default, then we don't
even have to change the defconfigs any more (except the versatile
one, which is no longer the default), which I think is quite clever
and helps git-bisecting across this commit.

I also still think that we should allow platforms to be part of
both multi-platform and single-platform builds, for cases it helps
with.

For instance, we could enable one platform to be used in
multiplatform kernels with the subset of its board files and
device drivers that are possible, while leaving board files
that cannot work with sparse-irq and drivers that rely on
platform specific headers as "depends on !ARCH_MULTIPLATFORM".

	Arnd



More information about the linux-arm-kernel mailing list