From patchwork Sun Feb 17 19:45:19 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 221095 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 1255F2C0079 for ; Mon, 18 Feb 2013 06:41:43 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4F8964A0C5; Sun, 17 Feb 2013 20:41:39 +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 XM0dRktbZn0L; Sun, 17 Feb 2013 20:41:39 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B9C1C4A0B3; Sun, 17 Feb 2013 20:41:11 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 67E994A10A for ; Sun, 17 Feb 2013 20:41:09 +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 DmSPx-HQIcg3 for ; Sun, 17 Feb 2013 20:41:08 +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-gg0-f176.google.com (mail-gg0-f176.google.com [209.85.161.176]) by theia.denx.de (Postfix) with ESMTPS id 1B4D94A02C for ; Sun, 17 Feb 2013 20:40:56 +0100 (CET) Received: by mail-gg0-f176.google.com with SMTP id q6so443602ggc.21 for ; Sun, 17 Feb 2013 11:40:55 -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=ZHeQ4Ty0/uEMiBZMXwJX7zQDZ1Z15XGWBFSqNsQ3Sfk=; b=b9jHRfXpdbGZsGVK8OAiwND2TO+0bVVmE3DSW2epVcXeMRvZ8gFSEdfJokLnqZDryc m37puDc4/sEIEJL9PIvVVkpk2LugG7dTpts9WZpfajDP8XcXbe7LXsp1r6jreIqt+YSe fU4kMYd0h9sifep4vTYRmu42i3sjaIVyAoXMxuGEnlG9Ud925byq09fewgC/nLk+wcIi uLjIhEJEou0a38TEhjAUCMVfkzh+Bgfhl0Z1/+FQ+GBwbPX8eQaIG4fI7Z6bjNHxy1U7 UGeKvob+w0mfk31XlIimUZk87FEYOFc1bI2EixjETRyoKUWzvxAPqB5DkTLO67SO7DD2 61Ww== X-Received: by 10.236.128.42 with SMTP id e30mr16416887yhi.7.1361130055310; Sun, 17 Feb 2013 11:40:55 -0800 (PST) Received: from nano.lab.ossystems.com.br ([187.23.144.59]) by mx.google.com with ESMTPS id n4sm26667009ank.1.2013.02.17.11.40.53 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 17 Feb 2013 11:40:54 -0800 (PST) From: Otavio Salvador To: U-Boot Mailing List Date: Sun, 17 Feb 2013 16:45:19 -0300 Message-Id: <1361130325-5202-6-git-send-email-otavio@ossystems.com.br> X-Mailer: git-send-email 1.8.1 In-Reply-To: <1361130325-5202-1-git-send-email-otavio@ossystems.com.br> References: <1361130325-5202-1-git-send-email-otavio@ossystems.com.br> Cc: Fabio Estevam , Marek Vasut , Otavio Salvador Subject: [U-Boot] [PATCH v3 05/10] 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 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__*/