From patchwork Wed Mar 7 16:24:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10264369 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EE294602C8 for ; Wed, 7 Mar 2018 16:25:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E0F72296C3 for ; Wed, 7 Mar 2018 16:25:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D35F2296C7; Wed, 7 Mar 2018 16:25:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6AB58296C3 for ; Wed, 7 Mar 2018 16:25:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=YbcyK192C3ELaZwjXhRPhb+igLA2i73DsmfyemyPzQs=; b=QgRGdX6wvcneBLWPhOzcQwlM5f 5rdHAEulxyt/C29wH6wY+scG9Gwop2suAen+QOC8FXcyHFVZqamU1RH4GmjKyVzwc7COEjkFcafEt vWcwo6jEniJPmnYaHK19fPCadACHqpGg7jjAKBefUSUJ0vFDnrd7dt2qf8GWqtBZlYXVzsS+GGDUc mVvd38KsgpXhdYsCkw0BRGYyGgITPVhIEi16U6A+WayVRqL2LopVaIEll02ZHBxoe9wOOhJriJgU9 79aTm/M0HtEF9AsRMIvPft88yw/Iq/2FvpDDe68BsE4rSh3oREYObLim4hNYhsCYY+KNFflOwA+TI jBjP3HbA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1etbsg-0002au-5G; Wed, 07 Mar 2018 16:25:30 +0000 Received: from mout.kundenserver.de ([212.227.17.10]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1etbsE-0001Q2-0R for linux-arm-kernel@lists.infradead.org; Wed, 07 Mar 2018 16:25:09 +0000 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.145]) with ESMTPA (Nemesis) id 0MFLHA-1eqKcs45kS-00EP5u; Wed, 07 Mar 2018 17:24:47 +0100 From: Arnd Bergmann To: Avi Fishman , Tomer Maimon Subject: [PATCH 2/2] ARM: npcm: drop extraneous 'select' statements Date: Wed, 7 Mar 2018 17:24:13 +0100 Message-Id: <20180307162430.2664523-2-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20180307162430.2664523-1-arnd@arndb.de> References: <20180307162430.2664523-1-arnd@arndb.de> X-Provags-ID: V03:K0:nU2rZ+Wml/8E+9GxQtEn7StbOIsGHQSOb1gZPPg5n8LkDIxZMUH tA0mPmE/YAjJ2v2rsmIE9KeNtSghCfoEw7dmoNhdsHpubT0ZHxisOfpRv7sFCiMoQ6EejU+ ARNbxhBIOjTUPHqfkf7y+RddFLYW3WVMkSL4boOsu8e+LOqEx625mUPOQ3wJ2j31zVridYk seetRZWfncMKJpTL2lU3A== X-UI-Out-Filterresults: notjunk:1; V01:K0:RHv5hhLc8kY=:AGgcS3Yu+VsbhdrBi0KxCp AkF0wr8Frl9PH5tYW5Vw2R4XEeTtWTkaAlz5DJlrWgtMB+pMYPaNKlmYbnCIM58U//fPsNxcH M7DGiP+mAyjuMFK3A4UXf8fqbl1UWK7+ta+XvGBBOFjeCSxd1wy/7s/eqzq/cVPxZHdQQMhcN 9a1FEATs1qn4jcCzV5y3Jeu3Hs01iYKSMtbNfbscvPk/ltkhlvGSiTIm6o+dxAMB7NlUcp7yT KGS9cKSRsbw6F0WHbeESbyn8T551gRhWb8iLRGeLD1J2fBg/Vop0u0UxwZDkcDr109iRCjPNw cTBpCCJQZUp4tSIhB+wJMiWUNDpDwhhEpmSbfSt9rd6lJG3jixNpc/adbgTNNRCltzAa4sglF IrQer4r5a+ZoKKXauZS2sK7sc8q5G/LjdLTn3ps2eBKaTl5KnX4VnniHJ6+QevVNxMvq3HlJP mA7epMJAOBIPlOHRJXDhCKoe+12KoB/bo5BQE0RRF9FFdGaorev6LBuEH9qo3Po2rMQ+zFJ0E Idpa1+8jFgw/0TSHNP6p+C8HYHW6ZufgaqULoCmp0RPFzhHMBvPaMw3LCL1ZQr/WPiU0LF3dF mCN346Sd1pKpShmciGlweuG3rkgVR8macxYabAc5mVpL4h6CrjGNgqT/viMi3/bnFcyyiQw5X 6XEwHxijqZM8Dn0uGbLukFE1tza5zC82Tl6ZtdML04Rs8ypUUClb1hwJgX4UFlt0jQBFQZnNQ UDXkKkQArBTuhFGbPmAHDLJ6lBiZabnl4KPQow== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180307_082503_238617_B00FA255 X-CRM114-Status: GOOD ( 10.28 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arnd Bergmann , Patrick Venture , openbmc@lists.ozlabs.org, Brendan Higgins , linux-kernel@vger.kernel.org, Nancy Yuen , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP While looking at the build regression, I noticed that the platform selects a lot of other Kconfig symbols that it really should not: CPU_V7, ARM_GIC, HAVE_SMP, COMMON_CLK, GENERIC_CLOCKEVENTS, and CLKDEV_LOOKUP are all implied by ARCH_MULTI_V7, so they can be dropped. CACHE_L2X0, SMP and USB are meant to be user-selectable, we want to be able to turn those off for testing purposes. CPU_USE_DOMAINS looks completely misplaced here, we should not select that for an ARMv7 platform. Signed-off-by: Arnd Bergmann Acked-by: Joel Stanley --- arch/arm/mach-npcm/Kconfig | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/arch/arm/mach-npcm/Kconfig b/arch/arm/mach-npcm/Kconfig index 2bc6697c8d97..c6a16230e8ef 100644 --- a/arch/arm/mach-npcm/Kconfig +++ b/arch/arm/mach-npcm/Kconfig @@ -12,12 +12,6 @@ comment "NPCM7XX CPU type" config ARCH_NPCM750 depends on ARCH_NPCM bool "Support for NPCM750 BMC CPU (Poleg)" - select CACHE_L2X0 - select CPU_V7 - select ARM_GIC - select HAVE_SMP - select SMP - select SMP_ON_UP select HAVE_ARM_SCU select HAVE_ARM_TWD if SMP select ARM_ERRATA_720789 @@ -26,18 +20,6 @@ config ARCH_NPCM750 select ARM_ERRATA_794072 select PL310_ERRATA_588369 select PL310_ERRATA_727915 - select USB_EHCI_ROOT_HUB_TT - select USB_ARCH_HAS_HCD - select USB_ARCH_HAS_EHCI - select USB_EHCI_HCD - select USB_ARCH_HAS_OHCI - select USB_OHCI_HCD - select USB - select FIQ - select CPU_USE_DOMAINS - select GENERIC_CLOCKEVENTS - select CLKDEV_LOOKUP - select COMMON_CLK if OF select NPCM750_TIMER select MFD_SYSCON help