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: 130917 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp5376272lja; Wed, 7 Mar 2018 08:24:59 -0800 (PST) X-Google-Smtp-Source: AG47ELuepQ3geU/CNNVcjWhzI1rgibNHSEdfE+TP6PHFiq0IFTZymL9JGhtUdIYLZ/FrT9tYqa+K X-Received: by 2002:a17:902:47aa:: with SMTP id r39-v6mr20559339pld.72.1520439899390; Wed, 07 Mar 2018 08:24:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520439899; cv=none; d=google.com; s=arc-20160816; b=OaYEQEWJ9x6FO61if3L7dhev8Os8kQr8BGwdo6e2aSjRosCYZWwHiHUG7Qj98G7tw4 rTbmF+VZqQ1PYWbhbywyj8qL8IKrUpD6iaBrVml8dC3k9/2UDWBmJX3gUVeH/Bt0ZHWz 1SKXvFJ2p4Vp2mo6Oo4szJfvI8XwPd3V7+OowWoiEGwslWhVnqn++26k9+N79CrsZlDb USfljdSUMPDHdn2BgDNofOsakPQV46i+MakSrQhApbaOAyw+Pc08CbVYT7dlpL+zq+ql CjmixyLyJerN+io1C8VfU0OmyPwy1QnChYVedmYHVtXOU0Wiq0xab6Tonnwhf/KH81a/ qzMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=E/LuKDLqec7GfZx+U2Sa/1pt422HriS0+GpEvjFMFpo=; b=MH8aV6qhflpl4pt96URiccYX7iCVCnVJfYPu4cEh/DM3wXqzaaT45IFl0147D1ZIGs LHZAsaNW391iupd1fpjeG4mypRyNyOVBpaoCYfg3a53cFqcATBCsJVWa1J3GqWhNs340 ce7Ruidhcomu7K6z6mdP/7AtO4fKvgqF3WtIRcCqN3KjfdBaryLRjgoaGK2YwbiVuhd5 jsXEtEzI8f0CBgOEja7e1YfdxyyBgU/aV26Jan8oyZ22xzeb5eRHLCiD1nCNTdjuOSmV qz1mnjCjTaaKltEcs/S7708NDY0RlDjIN9ONKdaknnKdiXD5L5P3thn8hYQaOrwW7F10 CBrA== 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 b2si11583465pgq.240.2018.03.07.08.24.59; Wed, 07 Mar 2018 08:24:59 -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 S934010AbeCGQYy (ORCPT + 28 others); Wed, 7 Mar 2018 11:24:54 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:40179 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933502AbeCGQYx (ORCPT ); Wed, 7 Mar 2018 11:24:53 -0500 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 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 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== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.9.0 Reviewed-by: Brendan Higgins 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