Received: by 10.223.185.116 with SMTP id b49csp5235695wrg; Wed, 7 Mar 2018 08:26:44 -0800 (PST) X-Google-Smtp-Source: AG47ELu/JkvX71MF853q/GKCE1eoueXOyVx4dpgYK1S4/kz5jDb9VOk/vLbOufbTdYVcA8Yi/sJb X-Received: by 10.99.119.203 with SMTP id s194mr13790870pgc.26.1520440004188; Wed, 07 Mar 2018 08:26:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520440004; cv=none; d=google.com; s=arc-20160816; b=QYjjz5TdvZhrlaWehEgko3w0jrIHO+S/YB+6s74C0YS6iuVLTtcSOXCs4cNE7Au9Fk QtU5i5nIlVsLjrCXU3ubEkQ5LFDH/41sGM4iOSg44uh/2CfTtbKdcvDb8rp6Yf3pKvD5 8ZKOsQJAoM0HqHJmQBNX1nUE7dcdGZhsXBjYefBcAgVkUb4h4lrLl4Gwx00THxdR19h3 yB2LUdI81Xk7A4kBS/9sCR1lk0YMQvRDDLU55Y6MQcLftHPwMla8UnU/9WbFzbAsBfBf cYttsF4b3Yqd/mIHy2CZyyWxrjDUeIE9fbfKyuLXiWQfwoYwhaGx1UA4riHNlLJwZLXx V/TA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=dkkihAUNYtslqFFFThJqfOyb61gCav/ZqY6Lg7+qm6s=; b=Tj2mmCmERSd2hvzCJA2Ez6R/2HnFgHUWRgyfXs8UpHgh1Q7H/INua2HlHPFEnPOGBf lCqCIIMf3wWXgFRRqApUBxtptXKNzbJGlgU5Y3UDzgQu0Jk2iPODR/GM7S5zQKqwLWu0 8ZvFATfxV8YMYoUAK9ohZt6lAWaFn7mOjaV/vucUsXRgIxEq1SRb30JwKa+KIktWQcb4 EKoupMH+b7aWZ6prhnWBSmwN4QsjLIfmDADOocjV7WtKZ+IDrDbos8/kAUEhG8MdFLZq fkjlj0vePoi5zLHyhJajcmsomXn7joUItHjElVlEYOI1U8O12S9W9RSC5ods+39xePAw wWMw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n27si14128544pfg.102.2018.03.07.08.26.29; Wed, 07 Mar 2018 08:26:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934018AbeCGQZM (ORCPT + 99 others); Wed, 7 Mar 2018 11:25:12 -0500 Received: from mout.kundenserver.de ([212.227.17.10]:51197 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933502AbeCGQZL (ORCPT ); Wed, 7 Mar 2018 11:25:11 -0500 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 Cc: Arnd Bergmann , Patrick Venture , Nancy Yuen , Brendan Higgins , linux-arm-kernel@lists.infradead.org, openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org 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@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iZabnl4KPQow== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 -- 2.9.0