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 <m...@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" -- 2.1.4 _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev