[PATCH 5/6] powerpc/kconfig: Move cpu options after platform options
Thomas Huth
thuth at redhat.com
Fri Oct 9 16:47:50 AEDT 2015
On 08/10/15 23:09, Michael Ellerman wrote:
> In general platforms are a more important configuration decision than
> cpus, so the platforms should come first.
>
> My basis for saying that is that our cpu selection options are generally
> just about tuning for a cpu, rather than enabling/disabling support for
> a cpu. On the other hand disabling a platform means you can't boot on
> those machines, and any associated cpu options should vanish.
>
> With this applied the start of menuconfig looks like:
>
> [*] 64-bit kernel
> Endianness selection (Build little endian kernel)
> General setup
> [*] Enable loadable module support
> -*- Enable the block layer
> Platform support
> Processor support
> Kernel options
> Bus options
>
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
> ---
> arch/powerpc/Kconfig | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
> index ea9377259f15..0f8c51279147 100644
> --- a/arch/powerpc/Kconfig
> +++ b/arch/powerpc/Kconfig
> @@ -34,8 +34,6 @@ config CPU_LITTLE_ENDIAN
>
> endchoice
>
> -source "arch/powerpc/platforms/Kconfig.cputype"
> -
> config PPC32
> bool
> default y if !PPC64
> @@ -339,6 +337,7 @@ source "init/Kconfig"
> source "kernel/Kconfig.freezer"
>
> source "arch/powerpc/platforms/Kconfig"
> +source "arch/powerpc/platforms/Kconfig.cputype"
>
> menu "Kernel options"
>
Reviewed-by: Thomas Huth <thuth at redhat.com>
More information about the Linuxppc-dev
mailing list