From patchwork Thu Oct 8 21:09:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Ellerman X-Patchwork-Id: 527901 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id BF2FC140D89 for ; Fri, 9 Oct 2015 08:15:03 +1100 (AEDT) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 874451A0B72 for ; Fri, 9 Oct 2015 08:15:03 +1100 (AEDT) X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Received: from ozlabs.org (ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 52B7C1A027F for ; Fri, 9 Oct 2015 08:09:24 +1100 (AEDT) Received: by ozlabs.org (Postfix) id 3A259140DA3; Fri, 9 Oct 2015 08:09:24 +1100 (AEDT) Delivered-To: linuxppc-dev@ozlabs.org Received: by ozlabs.org (Postfix, from userid 1034) id 142A1140DA7; Fri, 9 Oct 2015 08:09:24 +1100 (AEDT) From: Michael Ellerman To: Subject: [PATCH 5/6] powerpc/kconfig: Move cpu options after platform options Date: Fri, 9 Oct 2015 08:09:16 +1100 Message-Id: <1444338557-14988-5-git-send-email-mpe@ellerman.id.au> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1444338557-14988-1-git-send-email-mpe@ellerman.id.au> References: <1444338557-14988-1-git-send-email-mpe@ellerman.id.au> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: thuth@redhat.com MIME-Version: 1.0 Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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 Reviewed-by: Thomas Huth --- 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"