From patchwork Wed Jan 30 12:13:16 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 216876 X-Patchwork-Delegate: sbabic@denx.de 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 D5BD92C0095 for ; Wed, 30 Jan 2013 23:10:57 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4F2914A166; Wed, 30 Jan 2013 13:10: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 XPLB+rgM+P6y; Wed, 30 Jan 2013 13:10:39 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AB7064A117; Wed, 30 Jan 2013 13:10:18 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 602704A107 for ; Wed, 30 Jan 2013 13:10:12 +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 FN182MA8KW8r for ; Wed, 30 Jan 2013 13:10:11 +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-f169.google.com (mail-gh0-f169.google.com [209.85.160.169]) by theia.denx.de (Postfix) with ESMTPS id 8636E4A0C0 for ; Wed, 30 Jan 2013 13:09:40 +0100 (CET) Received: by mail-gh0-f169.google.com with SMTP id r18so232118ghr.28 for ; Wed, 30 Jan 2013 04:09:38 -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=ia1vATvOaN2SD0BuUj3cpeRyMUAWZDuxqkVwRsPrUWI=; b=Cy7Xys9KP6WdCbDKka66vketX5zspMYB6/dMp8WP1X/M5hQF+ZOLDQF1bgArrViabY 5KKO8iFc5+BOKmmOAgZEbZK04Mwo+ECjYjZcFGGWxT1/84x2tZk/KBvOK6YF+NwHqpQu Dh6C98MKno6gGTOVIN+ow9HIHQDm9TuNvn3573MKFuvpx+XNMDQRSyM53zWmMyX4CfrD 1iejvWRefOV2PeZz+ZTt6wJPfwNygb89bCKM0zSP4VZIWqLgKl0aV4Nd1vTYDxniXMe3 6Si484HVkzobTgngFLixyY9iBCZU1racMMkzD6k6yrnc+BFdYKvxC/fA/evaU5ku5y6X i+5w== X-Received: by 10.236.142.101 with SMTP id h65mr5264740yhj.95.1359547778478; Wed, 30 Jan 2013 04:09:38 -0800 (PST) Received: from nano.lab.ossystems.com.br ([177.35.66.48]) by mx.google.com with ESMTPS id j1sm1691034yhn.3.2013.01.30.04.09.35 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 30 Jan 2013 04:09:37 -0800 (PST) From: Otavio Salvador To: U-Boot Mailing List Date: Wed, 30 Jan 2013 10:13:16 -0200 Message-Id: <1359548001-14278-6-git-send-email-otavio@ossystems.com.br> X-Mailer: git-send-email 1.8.1 In-Reply-To: <1359548001-14278-1-git-send-email-otavio@ossystems.com.br> References: <1359548001-14278-1-git-send-email-otavio@ossystems.com.br> Cc: Fabio Estevam , Marek Vasut , Otavio Salvador Subject: [U-Boot] [PATCH 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 --- 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__*/