From patchwork Wed Mar 7 16:24:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10264363 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 6E39B602C8 for ; Wed, 7 Mar 2018 16:25:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6193B2968B for ; Wed, 7 Mar 2018 16:25:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 53F27296C0; Wed, 7 Mar 2018 16:25:03 +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 BFDD02968B for ; Wed, 7 Mar 2018 16:25:02 +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: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:In-Reply-To: References:List-Owner; bh=I8dBNzzcaoVdSEZmafojF8X10VKmf8ZqBL4lnoL5IuM=; b=oJ/ 4FctUbVjoRokq4qE+ffaASyisYVssYL6EBAXvXGR3PYUVi2elDjxg3Zgq0OOAbofa8rQex+OK4udd UlmnncX5FgCNlBYyd/gHmVmw7xGr6LGp41rJr2UmqC5dlsb7Pa5fI/Px5AFSDZIQNToFQ39uow1BD oP122huEjkwAN/qzLcbGtQKn4pYdPQGn0nxSUCOUYrNDin2syhe4OiuP46aP/7g7FVll5+rjNhT4M 6n5xRQEXVMCtcf4eg84bHPQ4wtSD4nH1hw+ko+l7woobLozLzPIVLP2zkJ0ACkVEh0lGncsjvZibA ge7c9yAbh2a6XMxz5Pzo22nmTo4ry9g==; 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 1etbs6-0001QD-CZ; Wed, 07 Mar 2018 16:24:54 +0000 Received: from mout.kundenserver.de ([212.227.17.13]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1etbs1-0001Os-NP for linux-arm-kernel@lists.infradead.org; Wed, 07 Mar 2018 16:24:51 +0000 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.145]) with ESMTPA (Nemesis) id 0MLPHO-1eu9pb2i1a-000diG; Wed, 07 Mar 2018 17:24:33 +0100 From: Arnd Bergmann To: Avi Fishman , Tomer Maimon Subject: [PATCH 1/2] ARM: npcm: add CONFIG_ARCH_MULTI_V7 dependency Date: Wed, 7 Mar 2018 17:24:12 +0100 Message-Id: <20180307162430.2664523-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:gF4p6j0gPbam+NfziKqkjnu+VOTwdO/aps9Yi7frysR07No0cTc +Po/5P481l8d7yS9r96L4/klx2J3ocLNVc7/w7kp5nCQe3TXikv8SKOUVlKDua+V6hGuxBp OK4rAwYg6PzT05Tyd7+MXuflbZPHeP8SjtmlNx+fDkQdN/3q5Ie+L2bW9qMHsN9cvOVHqcL tNbygrzwVPwpVy3KWKMVA== X-UI-Out-Filterresults: notjunk:1; V01:K0:Mb02ZiVoKV8=:arGViqzyvhucD5vgZUNCtN lc+15LHb63Z/Z1Ew5HFqXiSlMMeccCFZkFIpZ4b8qJg8a2aMmrP4E7nU7vDC6lBxoksLMhyNI opz2iLMRg5iSX27PMI6rgy0nDy/0vLzV2KMn47J7cK1bPRREDdYwdCNBUbl38UWZV7lyWd+3v xIh2PlLI2yMo/Xkecatosy0Bz32xUyUxk4+DK3FihuYlzaQT+atbRatmWwKwYMPO+EZ9D+x2j 8PBmUt2h2Z9R2k8ZgZZtYLkerMfyTYOGjVytPzsqebQEO3SOcRSzETFMdxm7Oy8/HvWIYl3vG PiHjSsyPcmrbNaGmJTUKQMJUvfe71Ufm7fO9nh660wcv8GShHqY1IqVd/PmfHWHM8XV0M6gO6 wJzOMbvVWFr3JcZblmr1aHQE+ITxaXaOajMqccj02HyO5PGDdhzCuCi+Kb9AN4nr5poWH174s Gp+9Qgzv33gwpVGzpEn0iF4QYaaQEbN43GXv/YDBlYFkgeURUP2jq08HGcCuzzxEJhvP/rNfN fqT9EkbXgw+Q4QuCNYrQEelPT/Cbsq67oxZO8uJIKE7XcL1siJ643JUT8Gz8r38ec6epTjA6h iuyAmhaeB3zUXXx1xxWRBgusz4V/yZmk6Gei15SHvc1F6wx2NfFs6FrYBXCNT6BG96a/bQKSx 24rFlhsMPcWzBkiZQAByzUf82u5NV2fcx4ayKYYPP/JmjlJd3UvFoTNeL35w54gwhoUVed6eW GXtXeYAyTb38YiaYDkToDpJn9oneVvSzpz1MEg== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180307_082450_190444_3B3C80D7 X-CRM114-Status: GOOD ( 10.06 ) 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 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 Reviewed-by: Brendan Higgins --- 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