From patchwork Tue Jan 29 10:39:09 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 216494 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 97DFE2C0087 for ; Tue, 29 Jan 2013 21:35:35 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1C53B4A122; Tue, 29 Jan 2013 11:35:22 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3L-T+4eWbW7B; Tue, 29 Jan 2013 11:35:21 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 808004A0EF; Tue, 29 Jan 2013 11:35:17 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3C5F14A146 for ; Tue, 29 Jan 2013 11:35:07 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jluO-H-VHyYq for ; Tue, 29 Jan 2013 11:35:06 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-gh0-f177.google.com (mail-gh0-f177.google.com [209.85.160.177]) by theia.denx.de (Postfix) with ESMTPS id E23E44A115 for ; Tue, 29 Jan 2013 11:34:56 +0100 (CET) Received: by mail-gh0-f177.google.com with SMTP id g22so18369ghb.22 for ; Tue, 29 Jan 2013 02:34:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=LWaNGj2SSAGTzZMBzGB4VgrKGbgV8djYBsRaTVsZvfk=; b=elhajjp0vdtUku2qR0baRwRfQ8paZ5QRbHJRFm4xApxet7IMQ1aooh9Bz0ipV9Nq2z 6ju5rf/3DIeSEWmpklRl3tCYLi3Jadd3WcAYAPOKdQCB4CtJL5EhJmTNiM63vs0Sgh3W Y/0nG5j0I8S5eOmJFnQRD950fSGzSu66yISZgDgMZ/Yjv98l6qIDZGdUI5Ma2PjsqlZt jAj4iw+CuKh4isytOEctVyogFvTGXI4p9bJcglz/QEAq6prZf1y7WSSu2hIoxBXnBu1k R0kKuPNbye9gtNWWsQ9/NzI9vJWOTNo0Yd9vZoLHutSOVBBQSPD2/yUAIk+0SwD8AfR+ qdZg== X-Received: by 10.236.59.98 with SMTP id r62mr380525yhc.130.1359455694546; Tue, 29 Jan 2013 02:34:54 -0800 (PST) Received: from nano.lab.ossystems.com.br ([177.35.66.48]) by mx.google.com with ESMTPS id c44sm13011953yhl.15.2013.01.29.02.34.52 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 29 Jan 2013 02:34:53 -0800 (PST) From: Otavio Salvador To: u-boot@lists.denx.de Date: Tue, 29 Jan 2013 08:39:09 -0200 Message-Id: <1359455950-24930-2-git-send-email-otavio@ossystems.com.br> X-Mailer: git-send-email 1.8.1 In-Reply-To: <1359455950-24930-1-git-send-email-otavio@ossystems.com.br> References: <1359455950-24930-1-git-send-email-otavio@ossystems.com.br> Cc: Fabio Estevam , Marek Vasut , Otavio Salvador Subject: [U-Boot] [PATCH v6 2/3] mxs: Fix iomux.h to not break build during assembly stage X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de This fixes the build failure when included in mx23_olinuxino.h board config; the addition of "asm/types.h" is due "u32" being otherwise undefined. Signed-off-by: Otavio Salvador --- Changes in v6: None Changes in v5: - Extend commit log Changes in v4: - New patch Changes in v3: None Changes in v2: None arch/arm/include/asm/arch-mxs/iomux.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/include/asm/arch-mxs/iomux.h b/arch/arm/include/asm/arch-mxs/iomux.h index 7abdf58..4288715 100644 --- a/arch/arm/include/asm/arch-mxs/iomux.h +++ b/arch/arm/include/asm/arch-mxs/iomux.h @@ -21,6 +21,10 @@ #ifndef __MACH_MXS_IOMUX_H__ #define __MACH_MXS_IOMUX_H__ +#ifndef __ASSEMBLY__ + +#include + /* * IOMUX/PAD Bit field definitions * @@ -165,4 +169,5 @@ int mxs_iomux_setup_pad(iomux_cfg_t pad); */ int mxs_iomux_setup_multiple_pads(const iomux_cfg_t *pad_list, unsigned count); +#endif /* __ASSEMBLY__ */ #endif /* __MACH_MXS_IOMUX_H__*/