Received: by 10.213.65.68 with SMTP id h4csp52417imn; Mon, 12 Mar 2018 06:29:45 -0700 (PDT) X-Google-Smtp-Source: AG47ELuz16cq1cx0+PCWWH9qAZYTEQCw/xpHYzsYtPisevkzAUAhimqNDc2VjKt3CGy4e2FsY/26 X-Received: by 2002:a17:902:8a92:: with SMTP id p18-v6mr8084575plo.286.1520861385473; Mon, 12 Mar 2018 06:29:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520861385; cv=none; d=google.com; s=arc-20160816; b=E01sC75AcVuw7SatBwGkPbNI7GakJ4CkxB8gLAj4yxra/euPpxHlH0h9YRDUB5FJWw 5pRad9bHuhGjtuvJIXJLQI7XNK/m0SqWhi7+FNLh6jpKRfww5VSjcA1BtVQJaPCX7KX7 ajJ1FranJIwF9PaC0miPgBa5ENZr0SXBC9dSsDtXa0M8NLhM4fbLRtFv9Y7K/PtBl6q/ o4T54P1ffiYdT5U13ga63eXoieg/vGbsJ+IVQsHloubrEvjhZAq8B5YFTSef3TP9NV2P g8+mp9J4R34TNlvwWJxebMKf7QX+F9juzQut2JHr2FtCkRwV4B7p8fHid9h6e+GfTWzX YBqw== 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 :arc-authentication-results; bh=nFJ7JlGnQYL9vMQ600mLfT5Q5qPtLSo9+dgql4EsyjQ=; b=YFphn1tbxfLTSMELhr5wLzXP1EKDh9r19iQKOy5EPdCqLLpJFHfYhD8pNX663Gpwkp HmFWieIjTaCZC25DJjOeQN/Wkk6d6WkP/PCeZx7sfVKPiDFWBxmwxFDekBB8zIvi0aQj u9+DdSI5JPDLs0xYNUrQq8sOZIwDjIx6lTWBAK/nEbSMmOvt8D4kXz4DErqH2DzxJATp 2xLmfudQeuAlzXKn9Nf6xUvi8jIyIwnDFWHUz0V5d6k2DWcRiJh66lvhAvJdlk/Foaqw dKAPK2uG6VTEbBBUGBMSi9x2cwrVYDpOdpjbrL4ARKDAivRgddgJgsctVxfLhDXCKLdq mPjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UtC5W+QO; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e5si4959704pgr.444.2018.03.12.06.29.30; Mon, 12 Mar 2018 06:29:45 -0700 (PDT) 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=pass header.i=@gmail.com header.s=20161025 header.b=UtC5W+QO; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932214AbeCLN2Z (ORCPT + 99 others); Mon, 12 Mar 2018 09:28:25 -0400 Received: from mail-it0-f66.google.com ([209.85.214.66]:35237 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751229AbeCLN2Y (ORCPT ); Mon, 12 Mar 2018 09:28:24 -0400 Received: by mail-it0-f66.google.com with SMTP id v194-v6so11451859itb.0 for ; Mon, 12 Mar 2018 06:28:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=nFJ7JlGnQYL9vMQ600mLfT5Q5qPtLSo9+dgql4EsyjQ=; b=UtC5W+QOgtGZ3WA8MFhq1hGowFFdTqQbWqSNtJdlkbUPnJXIXLF9ByxZY1GmNuOZgJ 3pAPE4zr4Y3rJLJWaZGoUkT3jwB5ZliAPn1uPC5ttqWKKc93vtzuJ2geveVmR+bA6iry wcBHNJX+b/bywJiMdNY/pbdqxF/VlPfj+2PesPnPDyzzCcJyh65cox62HKf/hCMfyViN FTqMDYwNkEebEHO9QzrtloZTRgnmSVBsfJcS9tgPQlfC4X9CZKYuOQRuzRU+5loGQ7eG +uS0TElQoJ9/6z17HFdkDF0z9zXP9DGNIGkw0iwGSviWngt1tgirzyDaKbPcvjxU57ij xbgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=nFJ7JlGnQYL9vMQ600mLfT5Q5qPtLSo9+dgql4EsyjQ=; b=s7lInVKxqR6X/+5j9iBjYxpX+VOvt5pznX6hMqQfLBrjtgIUcQHXBXTRJIwup/NIyB WjheIwyvwpO97LE35C04Vp5q5s+o5KR2F5qTEDZNHhwZv/VdLRymvlOnT+R++1LVQt4y 8r3+NHGTVYfxicuQiT6qio0LVYbvvEMZgtkusiEb09XLreJbEs9+4M8GrYr+JxOmBhjV DNZjp0hjoebk2looLPRFWFAy0FUbz3FqLEV5oOrKx659NhDcN1QJHRM8Zo0VAt/idR7k qxTzawYdlaqBsq9/hFf2BHpl1fTvXt4CeA48L6AHyYEd4hgpqgPAA4O/zs7YSznl9N8+ zxSA== X-Gm-Message-State: AElRT7FeK/iDfig+wx8AD0Ay9AMvUepxh9ZM7SmO2CJGi39MlrYmf0uB wtTofyHYkfQjA7NUXer5HwUavEQCxyBPT8Lgk1k= X-Received: by 10.36.34.194 with SMTP id o185mr8014580ito.60.1520861303747; Mon, 12 Mar 2018 06:28:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.183.17 with HTTP; Mon, 12 Mar 2018 06:28:23 -0700 (PDT) In-Reply-To: References: <20180307162430.2664523-1-arnd@arndb.de> From: Tomer Maimon Date: Mon, 12 Mar 2018 15:28:23 +0200 Message-ID: Subject: Re: [PATCH 1/2] ARM: npcm: add CONFIG_ARCH_MULTI_V7 dependency To: Brendan Higgins Cc: Arnd Bergmann , Avi Fishman , Patrick Venture , Nancy Yuen , 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 Hi Brendan, According to the last mail I have with Arnd can you modify the Kconfig as follow: +menuconfig ARCH_NPCM + bool "Nuvoton NPCM Architecture" + depends on ARCH_MULTI_V7 + select PINCTRL + +if ARCH_NPCM + +config ARCH_NPCM7XX + bool "Support for NPCM7xx BMC (Poleg)" + depends on ARCH_MULTI_V7 + select PINCTRL_NPCM7XX + select NPCM7XX_TIMER + select ARCH_REQUIRE_GPIOLIB + select CACHE_L2X0 + select ARM_GIC + select HAVE_ARM_TWD if SMP + select HAVE_ARM_SCU if SMP + select ARM_ERRATA_764369 if SMP + select ARM_ERRATA_720789 + select ARM_ERRATA_754322 + select ARM_ERRATA_794072 + select PL310_ERRATA_588369 + select PL310_ERRATA_727915 + select MFD_SYSCON + help + General support for NPCM7xx BMC (Poleg). + + Nuvoton NPCM7xx BMC based on the Cortex A9. + +endif Thanks! Tomer On 9 March 2018 at 04:08, Brendan Higgins wrote: > On Wed, Mar 7, 2018 at 8:24 AM Arnd Bergmann wrote: > >> The top-level CONFIG_ARCH_NPCM symbol is not guarded with a >> dependency, and can be selected for builds of traditional >> (non-multiplatform) builds as well, where it causes a build >> failure: > >> arch/arm/boot/Makefile:17: arch/arm/mach-npcm//Makefile.boot: No such > file or directory > >> This moves the dependency to avoid that particular condition. > >> Signed-off-by: Arnd Bergmann >> --- >> arch/arm/mach-npcm/Kconfig | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) > >> diff --git a/arch/arm/mach-npcm/Kconfig b/arch/arm/mach-npcm/Kconfig >> index 6ff9df2636be..2bc6697c8d97 100644 >> --- a/arch/arm/mach-npcm/Kconfig >> +++ b/arch/arm/mach-npcm/Kconfig >> @@ -1,5 +1,5 @@ >> menuconfig ARCH_NPCM >> - bool "Nuvoton NPCM Architecture" >> + bool "Nuvoton NPCM Architecture" if ARCH_MULTI_V7 >> select ARCH_REQUIRE_GPIOLIB >> select USE_OF >> select PINCTRL >> @@ -10,7 +10,7 @@ if ARCH_NPCM >> comment "NPCM7XX CPU type" > >> config ARCH_NPCM750 >> - depends on ARCH_NPCM && ARCH_MULTI_V7 >> + depends on ARCH_NPCM >> bool "Support for NPCM750 BMC CPU (Poleg)" >> select CACHE_L2X0 >> select CPU_V7 >> -- >> 2.9.0 > > > Reviewed-by: Brendan Higgins > > Thanks!