[patch 1/9] move 82xx/83xx/86xx Kconfig options to platform selection
Kumar Gala
galak at kernel.crashing.org
Mon Jun 18 00:42:10 EST 2007
On Jun 15, 2007, at 7:05 PM, arnd at arndb.de wrote:
> The cores used in the MPC82xx/83xx/86xx embedded controllers are
> very similar
> to those in the 32 bit general-purpose processors, so it makes
> sense to
> treat them as the same CPU family.
>
> Choosing between the embedded platforms and the multiplatform code is
> now done in the platform menu, but functionally everything stays the
> same.
>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> Index: linux-2.6/arch/powerpc/platforms/Kconfig
> ===================================================================
> --- linux-2.6.orig/arch/powerpc/platforms/Kconfig
> +++ linux-2.6/arch/powerpc/platforms/Kconfig
> @@ -2,7 +2,7 @@ menu "Platform support"
>
> choice
> prompt "Machine type"
> - depends on PPC64 || CLASSIC32
> + depends on PPC64 || 6xx
> default PPC_MULTIPLATFORM
>
> config PPC_MULTIPLATFORM
> @@ -16,8 +16,31 @@ config EMBEDDED6xx
> bool "Embedded 6xx/7xx/7xxx-based board"
> depends on PPC32 && (BROKEN||BROKEN_ON_SMP)
>
> +config PPC_82xx
> + bool "Freescale 82xx"
> + depends on 6xx
> +
> +config PPC_83xx
> + bool "Freescale 83xx"
> + depends on 6xx
> + select FSL_SOC
> + select 83xx
> + select WANT_DEVICE_TREE
> +
> +config PPC_86xx
> + bool "Freescale 86xx"
> + depends on 6xx
> + select FSL_SOC
> + select FSL_PCIE
> + select ALTIVEC
> + help
> + The Freescale E600 SoCs have 74xx cores.
> endchoice
is it feasible to have 83xx/86xx go 'multiplatform' but not 82xx?
There are more annoyances about CPM2 support that are not clean such
that you couldn't build support for different 82xx systems into the
same kernel. Today we only support one 82xx system in ARCH=powerpc,
but I'd rather we not move it until we clean up those issues. (the
same is true of 85xx).
- k
More information about the Linuxppc-dev
mailing list