From patchwork Wed Oct 17 14:27:36 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 1606421 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 24DBF3FD4F for ; Wed, 17 Oct 2012 14:29:58 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TOUb6-0006mA-Kj; Wed, 17 Oct 2012 14:27:48 +0000 Received: from mail-yh0-f49.google.com ([209.85.213.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TOUb3-0006lg-Ev for linux-arm-kernel@lists.infradead.org; Wed, 17 Oct 2012 14:27:45 +0000 Received: by mail-yh0-f49.google.com with SMTP id j52so2041035yhj.36 for ; Wed, 17 Oct 2012 07:27:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=R1l/L+u3g82CKzJqjXgs9SeZGANs20a2mKgzpPVa9Mc=; b=eGdpkWDulF/RS1rJ3tN4jR7aflrW4gVfQi5ii2lGwzMn2wlYk/IUYoCBaXQTvQn0ts y9Evxd8cWW1jks3fngTVq1lrCPGjRGxcObogR97TmTa1c5KZKP1aMl0I/LUV4UV1nA8o de94WY3dx8lOAajNvl2JJFBrbq1067ZD5hmINTmIrk3GzsHUTLayGL6S+uaVk082hIGh JX1KZpVr3DMfh1kbbQY6tkB+MnnSHWR/1Iyv7i3MSSNPFO7e935JZdIcqlKVDpsxpuUK GZecrw76Pf3dPjuk9Fa+PxOVcCPdonsEOSc/yYUDOlnMApmFr9U40shKKDkGdFLRWt4T 8TTA== Received: by 10.236.138.10 with SMTP id z10mr17551719yhi.39.1350484064225; Wed, 17 Oct 2012 07:27:44 -0700 (PDT) Received: from fabio-Latitude-E6410.cps.virtua.com.br ([201.82.136.72]) by mx.google.com with ESMTPS id h29sm474391ann.9.2012.10.17.07.27.42 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 17 Oct 2012 07:27:43 -0700 (PDT) From: Fabio Estevam To: shawn.guo@linaro.org Subject: [PATCH v2] ARM: mach-imx: Let ARCH_MXC select HAVE_IMX_SRC Date: Wed, 17 Oct 2012 11:27:36 -0300 Message-Id: <1350484056-13437-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.7.9.5 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (festevam[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.213.49 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: linux-arm-kernel@lists.infradead.org, Fabio Estevam , arnd@arndb.de, kernel@pengutronix.de X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Fabio Estevam Since commit c5a0d497(ARM: imx: enable multi-platform build), ARCH_MXC is selected by the following logic: config ARCH_MXC def_bool y if ARCH_MULTI_V4_V5 || ARCH_MULTI_V6_V7 As vexpress_defconfig selects ARCH_MULTI_V6_V7, this leads to the following build error when building for vexpress_defconfig: arch/arm/mach-imx/hotplug.c:49: undefined reference to `imx_enable_cpu' arch/arm/mach-imx/platsmp.c:57: undefined reference to `imx_set_cpu_jump' arch/arm/mach-imx/platsmp.c:58: undefined reference to `imx_enable_cpu' These missing functions are provided by arch/arm/mach-imx/src.c, which is selected via HAVE_IMX_SRC. Currently only SOC_IMX6Q selects HAVE_IMX_SRC, so let ARCH_MXC select it and fix the build error. Signed-off-by: Fabio Estevam --- Changes since v1: - Fix typo in commit message and improve it a bit arch/arm/mach-imx/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index 892631f..856482d 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig @@ -7,6 +7,7 @@ config ARCH_MXC select CLKSRC_MMIO select GENERIC_CLOCKEVENTS select GENERIC_IRQ_CHIP + select HAVE_IMX_SRC select MULTI_IRQ_HANDLER select SPARSE_IRQ select USE_OF @@ -837,7 +838,6 @@ config SOC_IMX6Q select HAVE_CAN_FLEXCAN if CAN select HAVE_IMX_GPC select HAVE_IMX_MMDC - select HAVE_IMX_SRC select HAVE_SMP select MFD_SYSCON select PINCTRL