From patchwork Thu Mar 21 11:10:06 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Bolle X-Patchwork-Id: 229627 X-Patchwork-Delegate: michael@ellerman.id.au Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [IPv6:::1]) by ozlabs.org (Postfix) with ESMTP id 84B2F2C0310 for ; Thu, 21 Mar 2013 22:10:53 +1100 (EST) Received: from cpsmtpb-ews05.kpnxchange.com (cpsmtpb-ews05.kpnxchange.com [213.75.39.8]) by ozlabs.org (Postfix) with ESMTP id 6F09E2C0097 for ; Thu, 21 Mar 2013 22:10:15 +1100 (EST) Received: from cpsps-ews05.kpnxchange.com ([10.94.84.172]) by cpsmtpb-ews05.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Thu, 21 Mar 2013 12:08:36 +0100 Received: from CPSMTPM-TLF101.kpnxchange.com ([195.121.3.4]) by cpsps-ews05.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Thu, 21 Mar 2013 12:08:36 +0100 Received: from [192.168.1.110] ([212.123.139.93]) by CPSMTPM-TLF101.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Thu, 21 Mar 2013 12:10:06 +0100 Message-ID: <1363864206.1390.117.camel@x61.thuisdomein> Subject: [PATCH] powerpc: drop even more unused Kconfig symbols From: Paul Bolle To: Benjamin Herrenschmidt , Paul Mackerras Date: Thu, 21 Mar 2013 12:10:06 +0100 X-Mailer: Evolution 3.4.4 (3.4.4-2.fc17) Mime-Version: 1.0 X-OriginalArrivalTime: 21 Mar 2013 11:10:07.0034 (UTC) FILETIME=[A510C1A0:01CE2624] X-RcptDomain: lists.ozlabs.org Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" When I submitted commit 6805ab6daa2b589fe3242d05ddc47a9dbb0c4eb1 ("powerpc: drop unused Kconfig symbols") I apparently failed to notice that my patch also made PREP_RESIDUAL and PPC_A2_DD2 unused. Drop these now. Signed-off-by: Paul Bolle --- 0) Untested. 1) I investigated these Kconfig files a bit and discovered that PPC_PREP is marked BROKEN since v2.6.15, see commit 5be396b00ca0f2f769c55cf69bbd7c77451c925e ("powerpc: Mark PREP and embedded as broken for now"). Though it's not my problem, this does suggest PReP support can be removed entirely. arch/powerpc/platforms/prep/Kconfig | 13 ------------- arch/powerpc/platforms/wsp/Kconfig | 4 ---- 2 files changed, 17 deletions(-) diff --git a/arch/powerpc/platforms/prep/Kconfig b/arch/powerpc/platforms/prep/Kconfig index 1547f66..2036e7e 100644 --- a/arch/powerpc/platforms/prep/Kconfig +++ b/arch/powerpc/platforms/prep/Kconfig @@ -8,16 +8,3 @@ config PPC_PREP select PPC_UDBG_16550 select PPC_NATIVE default n - -config PREP_RESIDUAL - bool "Support for PReP Residual Data" - depends on PPC_PREP - help - Some PReP systems have residual data passed to the kernel by the - firmware. This allows detection of memory size, devices present and - other useful pieces of information. Sometimes this information is - not present or incorrect, in which case it could lead to the machine - behaving incorrectly. If this happens, either disable PREP_RESIDUAL - or pass the 'noresidual' option to the kernel. - - If you are running a PReP system, say Y here, otherwise say N. diff --git a/arch/powerpc/platforms/wsp/Kconfig b/arch/powerpc/platforms/wsp/Kconfig index 79d2225..9eea710 100644 --- a/arch/powerpc/platforms/wsp/Kconfig +++ b/arch/powerpc/platforms/wsp/Kconfig @@ -29,7 +29,3 @@ config PPC_CHROMA default y endmenu - -config PPC_A2_DD2 - bool "Support for DD2 based A2/WSP systems" - depends on PPC_A2