From patchwork Fri Sep 6 05:47:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: manjunath.goudar@linaro.org X-Patchwork-Id: 19800 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f70.google.com (mail-qa0-f70.google.com [209.85.216.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6135624869 for ; Fri, 6 Sep 2013 05:47:41 +0000 (UTC) Received: by mail-qa0-f70.google.com with SMTP id ii20sf638726qab.1 for ; Thu, 05 Sep 2013 22:47:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=Q8J0XAj7q3p3tz4uE4vN6hpXRm+ll6MQQjXki246+4c=; b=Anr4khR8PJsZg01sK4+UUCJMzHbj4qdHfI4RV+5gAM2mdiQ730WjrZhtYaSuyxuO9K SkhP9pxd2IlU92IVGzeyTZfnsQDfOy37oomkSTvAJI1PAtRrZ/r+eLIWDycWvdboN7vb 2DJCW9jEtsyrLvIb7mKVwlne/QAi0RbegCzeyD4IBMFZ4XjSOobfASlymzpqYpd0dfW9 WCoQvGo/14Z9VYGSQI75nMK6EFzRC++lcoY2YKE2TNoetyzM1lsI7+L01ac5T+4TJaXB 191ocvmn8BvYpLylLPDK4/QaXCHY6P0kzboNHHy26l+YfrM2GZGlqgLf3V8WkIFot8KD JWJQ== X-Received: by 10.224.36.198 with SMTP id u6mr2079298qad.6.1378446461228; Thu, 05 Sep 2013 22:47:41 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.81.210 with SMTP id c18ls528504qey.37.gmail; Thu, 05 Sep 2013 22:47:41 -0700 (PDT) X-Received: by 10.220.105.199 with SMTP id u7mr587082vco.1.1378446461158; Thu, 05 Sep 2013 22:47:41 -0700 (PDT) Received: from mail-vb0-f42.google.com (mail-vb0-f42.google.com [209.85.212.42]) by mx.google.com with ESMTPS id k17si258263vck.102.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Sep 2013 22:47:41 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.42 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.42; Received: by mail-vb0-f42.google.com with SMTP id e12so1846296vbg.15 for ; Thu, 05 Sep 2013 22:47:41 -0700 (PDT) X-Gm-Message-State: ALoCoQm4BJzRGH/tcfmSqDRuoESkAjpmKVbMdZGjAUnBQr5mbZVt3if+MdtlKyvXHKp8ObvItCpz X-Received: by 10.52.165.237 with SMTP id zb13mr37373vdb.28.1378446461075; Thu, 05 Sep 2013 22:47:41 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp321181vcz; Thu, 5 Sep 2013 22:47:40 -0700 (PDT) X-Received: by 10.68.125.226 with SMTP id mt2mr827916pbb.115.1378446460169; Thu, 05 Sep 2013 22:47:40 -0700 (PDT) Received: from mail-pb0-f46.google.com (mail-pb0-f46.google.com [209.85.160.46]) by mx.google.com with ESMTPS id w4si1590265pax.208.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Sep 2013 22:47:40 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.46 is neither permitted nor denied by best guess record for domain of manjunath.goudar@linaro.org) client-ip=209.85.160.46; Received: by mail-pb0-f46.google.com with SMTP id rq2so2770947pbb.19 for ; Thu, 05 Sep 2013 22:47:39 -0700 (PDT) X-Received: by 10.66.25.70 with SMTP id a6mr1955204pag.68.1378446459645; Thu, 05 Sep 2013 22:47:39 -0700 (PDT) Received: from manjunath-Latitude-E6420.LGE.NET ([203.247.149.152]) by mx.google.com with ESMTPSA id ys4sm1369927pbb.9.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Sep 2013 22:47:39 -0700 (PDT) From: Manjunath Goudar To: linus.walleij@linaro.org Cc: dsaxena@linaro.org, manjunath.goudar@linaro.org, patches@linaro.org Subject: [PATCH] arm : mach-versatile: Change PCI symbol to MACH_VERSATILE_PCI in Kconfig. Date: Fri, 6 Sep 2013 11:17:27 +0530 Message-Id: <1378446447-5589-1-git-send-email-manjunath.goudar@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: manjunath.goudar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.42 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch changed CONFIG_PCI symbol to CONFIG_MACH_VERSATILE_PCI in Kconfig, because this pci is specific to versatile. Adds a MMU dependency to configure the CONFIG_MACH_VERSATILE_PCI. Without this patch,build system can lead to build failure. This was observed during randconfig testing, in which CONFIG_PCI was enabled instead of CONFIG_MACH_VERSATILE_PCI being enabled. leading to the following error: LD init/built-in.o arch/arm/mach-versatile/built-in.o: In function `pci_versatile_setup': arch/arm/mach-versatile/pci.c:249: undefined reference to `pci_ioremap_io' make: *** [vmlinux] Error 1 Signed-off-by: Manjunath Goudar Cc: Arnd Bergmann Cc: Deepak Saxena Cc: Linus Walleij Cc: Russell King Cc: Tony Lindgren Cc: Stephen Warren Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- arch/arm/mach-versatile/Kconfig | 3 +++ arch/arm/mach-versatile/Makefile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-versatile/Kconfig b/arch/arm/mach-versatile/Kconfig index 1dba368..37210df 100644 --- a/arch/arm/mach-versatile/Kconfig +++ b/arch/arm/mach-versatile/Kconfig @@ -30,4 +30,7 @@ config MACH_VERSATILE_AUTO depends on !ARCH_VERSATILE_PB && !MACH_VERSATILE_AB select MACH_VERSATILE_DT +config CONFIG_MACH_VERSATILE_PCI + depends on MMU + endmenu diff --git a/arch/arm/mach-versatile/Makefile b/arch/arm/mach-versatile/Makefile index 81fa3fe..4753c56 100644 --- a/arch/arm/mach-versatile/Makefile +++ b/arch/arm/mach-versatile/Makefile @@ -6,4 +6,4 @@ obj-y := core.o obj-$(CONFIG_ARCH_VERSATILE_PB) += versatile_pb.o obj-$(CONFIG_MACH_VERSATILE_AB) += versatile_ab.o obj-$(CONFIG_MACH_VERSATILE_DT) += versatile_dt.o -obj-$(CONFIG_PCI) += pci.o +obj-$(CONFIG_MACH_VERSATILE_PCI) += pci.o