From patchwork Tue Aug 30 02:21:08 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 112169 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 E4E66B6F18 for ; Tue, 30 Aug 2011 12:21:29 +1000 (EST) Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QyDx4-0000PU-Br; Tue, 30 Aug 2011 02:21:22 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QyDx3-0004DP-Ti; Tue, 30 Aug 2011 02:21:21 +0000 Received: from mail-yw0-f49.google.com ([209.85.213.49]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QyDx0-0004D6-Mn for linux-arm-kernel@lists.infradead.org; Tue, 30 Aug 2011 02:21:19 +0000 Received: by ywp17 with SMTP id 17so5769134ywp.36 for ; Mon, 29 Aug 2011 19:21:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; bh=mBeN4vpQJVJrEPYEXw5w8jG1fLzunAVavKDmPtVZgoU=; b=pp/sbVrpkoPF8Vhr8r/qGIeBM4qHRkhYFqKEVPfaBL+4mZGuEZzEc0rwiIIsdcScDU gBBFAQAyVApW7ztc8lXgjI+rPhFTnJOftg7rA1i1+FSUb031lG/BiaGmRjGcne2zYWcd FLJ01ksPBNr25isW83R8sltz60w1IEpSZNapU= Received: by 10.236.180.199 with SMTP id j47mr6609482yhm.107.1314670875362; Mon, 29 Aug 2011 19:21:15 -0700 (PDT) Received: from localhost.localdomain ([187.106.42.149]) by mx.google.com with ESMTPS id a29sm224115yhj.59.2011.08.29.19.21.12 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 29 Aug 2011 19:21:14 -0700 (PDT) From: Fabio Estevam To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: mx25: Fix build by providing MX25_IIM_BASE_ADDR definition Date: Mon, 29 Aug 2011 23:21:08 -0300 Message-Id: <1314670868-13457-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.6.0.4 X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110829_222118_882039_C234B351 X-CRM114-Status: GOOD ( 13.11 ) X-Spam-Score: -0.8 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-0.8 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.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 0.0 T_TO_NO_BRKTS_FREEMAIL To: misformatted and free email service Cc: Fabio Estevam , kernel@pengutronix.de X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 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 commit d27536c6 (ARM: mx25: Print silicon revision on boot) missed to include MX25_IIM_BASE_ADDR and caused the following build error: CC arch/arm/mach-imx/cpu-imx25.o arch/arm/mach-imx/cpu-imx25.c: In function 'mx25_read_cpu_rev': arch/arm/mach-imx/cpu-imx25.c:23: error: 'MX25_IIM_BASE_ADDR' undeclared (first use in this function) arch/arm/mach-imx/cpu-imx25.c:23: error: (Each undeclared identifier is reported only once arch/arm/mach-imx/cpu-imx25.c:23: error: for each function it appears in.) make[1]: *** [arch/arm/mach-imx/cpu-imx25.o] Error 1 make: *** [arch/arm/mach-imx] Error 2 Fix the build by providing the missing definition. Signed-off-by: Fabio Estevam --- arch/arm/plat-mxc/include/mach/mx25.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-mxc/include/mach/mx25.h b/arch/arm/plat-mxc/include/mach/mx25.h index 8dcab80..ccebf5b 100644 --- a/arch/arm/plat-mxc/include/mach/mx25.h +++ b/arch/arm/plat-mxc/include/mach/mx25.h @@ -41,6 +41,7 @@ #define MX25_SSI2_BASE_ADDR 0x50014000 #define MX25_SSI1_BASE_ADDR 0x50034000 #define MX25_NFC_BASE_ADDR 0xbb000000 +#define MX25_IIM_BASE_ADDR 0x53ff0000 #define MX25_DRYICE_BASE_ADDR 0x53ffc000 #define MX25_ESDHC1_BASE_ADDR 0x53fb4000 #define MX25_ESDHC2_BASE_ADDR 0x53fb8000