Received: by 10.223.185.116 with SMTP id b49csp5764274wrg; Wed, 7 Mar 2018 18:13:44 -0800 (PST) X-Google-Smtp-Source: AG47ELt7QuRKj28Ul/f6Zifbr9jpyhJ90ZxDZkJa2cVLS4WmGFNwtgpiBPABda0twV3fr5NcnNqf X-Received: by 2002:a17:902:74c3:: with SMTP id f3-v6mr22478278plt.444.1520475223908; Wed, 07 Mar 2018 18:13:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520475223; cv=none; d=google.com; s=arc-20160816; b=Lkf+OrBwfRSoNMcpV4XJQ54JdJwv+f0ate6g0Yek+8U8KAgB10PlH9OOwsQKrNt+9O PQ6xuCO6di4nAIkUjdVHmfoMS+rNrefs2TPcCN/js+Nf1hb/M0+zhcxRcaKau25ipxIV fByvzPMwv5mc5QKbQ08IHQYEeTho7XDLylYQkRP4tVuWguVcjHKE+tgTElaxs6hy+5DI j4cuP6JpBJdF1CV8Ro70zAp6+Mh7102Js6ZXnYISmC8Y0rBDRRMlNWd6S8zIGr7ghfne pAv+Dd6jaNvbb5BB6JwycpRsLBggkuTP1QW+mJ46fFmBgBGo4jbYOHXLATtMjCjefoD0 Tuaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=UOWe3KDSu26AZfbfogZwBLt3VU0NJYRu+LQQRX2QtMg=; b=MIOVBU/pVnu8wOQL73JSwTQBBchhtrZLii44sZ5Zzx1uAYrOA7DwWbhCX/ya/BEzSG B96+twnI5Gp9benfKd25bnrCNn+BkgbEcjvChMZEvK7JamkSiJOtnSZSmYHHHUGT+neU OXKXSk/n69nmdTr5uQpag3CKrQ+W3jPmY9T+RJ4RjstGdCjTwtvStzZnmrDKvJyw7ocK stxcA4eUL61vXWWcezO3au188PLcHf9cWk7XIiQCDgNnphSUhMT21+WWMUW1DPXnv4Uw eXwYy8g6PMZ1HXqAdx9t1ML9iY1kgCliyWhNKXyPPuhiWaKoXgmmu9eiRZHums3U0Wsj 8IRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=UfYiiRng; dkim=fail header.i=@jms.id.au header.s=google header.b=Qbr7Z24o; 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 m63si14979905pfg.239.2018.03.07.18.13.29; Wed, 07 Mar 2018 18:13:43 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=UfYiiRng; dkim=fail header.i=@jms.id.au header.s=google header.b=Qbr7Z24o; 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 S934701AbeCHCMg (ORCPT + 99 others); Wed, 7 Mar 2018 21:12:36 -0500 Received: from mail-qk0-f194.google.com ([209.85.220.194]:46052 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933351AbeCHCMe (ORCPT ); Wed, 7 Mar 2018 21:12:34 -0500 Received: by mail-qk0-f194.google.com with SMTP id r140so5109955qke.12 for ; Wed, 07 Mar 2018 18:12:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=UOWe3KDSu26AZfbfogZwBLt3VU0NJYRu+LQQRX2QtMg=; b=UfYiiRngu6pFxhKVHvESwWj9OW4uWCH4OD3FXthVSNMh9jH00dHQMRrcBC17SmswGn 6kX+AK0vqNO66c1lhHNNcdSTmT4bAWDcqfkJnO9XuhicgoXYoyAel08vuyi6WvaELH96 8/thYXwnQFJivmi0utluIJ1O6uuYYDCzKlkbxcqDLB/yaWHJuUABfJyUQXo9Niej5Vvm OfgCehMg+zncO6adxNt1dSEDH5r0UEIzmBA7LxFEK2LJfHqWwnUPC4qjKFbwyHY0mijV 8DF1vRU7D4MUFtFiSOZYRX9eMhx9SyLlwmrr/3W6ib2xG+B0sUZ+wizIz0g2FF7T/85N 0mog== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=UOWe3KDSu26AZfbfogZwBLt3VU0NJYRu+LQQRX2QtMg=; b=Qbr7Z24o4LLRNg+r6dsK2bBeL2vJuERh2pOi2dUpJa0QQqeY9FXEugq7PfsFmLkHsq kc186EI8GExmTYriOhfJ47hry5W0s3yPNBx4eHh4iyAiXVEuXe1Ps+ffOREoQYAtR3US p5Kc0vHV7hhlPAM1TNWvhfST/yQB09Q3RIdRI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=UOWe3KDSu26AZfbfogZwBLt3VU0NJYRu+LQQRX2QtMg=; b=qJSfGY2tjgfNG++NVFqODL2XnSmpBSs2NxgZdGoy9zPVTifhwlwrNNYthw81Vty5WF xp0ezwkhUWlfb/M0bhzUue/4qMdJxloY6/yP28Lh4hmtni99IW0qSghrxMrmZrrDlpo7 O4NLLvsyZYtPAIwGEakn8DazJkcYYF4tRqaiGMtfHCthcVvaz66XVkgPrCqGSsRUlpCm XHfD5S83amtjZzzfydjY+hrOy7cNWmF9gtEKJLdJ5KtIIgYiT64MCEUhE2C2iZUYvXUT HJV9MtAALBeun+YY492DOGMlknVWOaoC8Sgdt6ctYopFF5GYagz6fFXlrQhHM1k648Zr 862A== X-Gm-Message-State: AElRT7G/lLALq4lZPZo4YAjlbKhTRWHbZV7GEKn/WLRGECju1kViVyzl wh1nnKP51WAKHW1Dv23xYrqbhFYuavJvLGY5Iqc= X-Received: by 10.55.22.144 with SMTP id 16mr35242024qkw.11.1520475153504; Wed, 07 Mar 2018 18:12:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.50.69 with HTTP; Wed, 7 Mar 2018 18:12:12 -0800 (PST) In-Reply-To: <20180307162430.2664523-2-arnd@arndb.de> References: <20180307162430.2664523-1-arnd@arndb.de> <20180307162430.2664523-2-arnd@arndb.de> From: Joel Stanley Date: Thu, 8 Mar 2018 12:42:12 +1030 X-Google-Sender-Auth: GPAycjjUe33p8pSM9ccGvV6TL-A Message-ID: Subject: Re: [PATCH 2/2] ARM: npcm: drop extraneous 'select' statements To: Arnd Bergmann Cc: Avi Fishman , Tomer Maimon , Patrick Venture , Nancy Yuen , Brendan Higgins , Linux ARM , OpenBMC Maillist , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 8, 2018 at 2:54 AM, Arnd Bergmann wrote: > 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 I had a similar patch queued for sending out. Thanks Arnd. Acked-by: Joel Stanley Cheers, Joel > --- > 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 >