From patchwork Wed Oct 17 14:20:20 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 192058 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 570AA2C0084 for ; Thu, 18 Oct 2012 01:28:13 +1100 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TOUYW-0006Zt-K3; Wed, 17 Oct 2012 14:25:08 +0000 Received: from mail-gh0-f177.google.com ([209.85.160.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TOUYR-0006Zc-Py for linux-arm-kernel@lists.infradead.org; Wed, 17 Oct 2012 14:25:05 +0000 Received: by mail-gh0-f177.google.com with SMTP id f20so2067843ghb.36 for ; Wed, 17 Oct 2012 07:25:01 -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=M+RTruZMD+pFohzLiFepBHqh+/IpLxNz/NTJ0A84MR4=; b=cUPfmUOuxfX8Xe5Pzfxzdb1fqcHzR8bAP/0eXNsoETPL7zXdZIfn+dsuVQcydSRxR8 HXkLBMGerMpqmCSHWhiCc7ZjZTkgpOYfrrYIElpdzz2WsU5ue3biDO1+T+R6T0U43a4I xbvS+5sLU8tHPZ9ks1qu7cdusvkPdHxBgnVY8/+GSsPlzvzV21lGVw7cHorVejtJXzn/ itJ3pDNsbjhtOZAcUQAOPBW+Pm2CaQFk/P6rB1fPboWMyJ5l6dWgPTW62FgGM06BBADT 4RKqBBwNNFQV2L7F3M1OjF6RNnZutK2QIjJqlpHbY/1SLMgxZdcxlDinW2oCCMwNhUMk HN6w== Received: by 10.236.91.6 with SMTP id g6mr11411919yhf.67.1350483901785; Wed, 17 Oct 2012 07:25:01 -0700 (PDT) Received: from fabio-Latitude-E6410.cps.virtua.com.br ([201.82.136.72]) by mx.google.com with ESMTPS id z65sm20929489yhe.22.2012.10.17.07.24.59 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 17 Oct 2012 07:25:00 -0700 (PDT) From: Fabio Estevam To: shawn.guo@linaro.org Subject: [PATCH] ARM: mach-imx: Let ARCH_MXC select HAVE_IMX_SRC Date: Wed, 17 Oct 2012 11:20:20 -0300 Message-Id: <1350483620-1033-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.160.177 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-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+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.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_V , which causes build error on 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 --- 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