From patchwork Mon Feb 11 13:35:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 219603 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 D81372C02CE for ; Tue, 12 Feb 2013 00:33:18 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7B1B54A111; Mon, 11 Feb 2013 14:33:15 +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 sSCHfdC2ZLmk; Mon, 11 Feb 2013 14:33:15 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id ED6C14A10F; Mon, 11 Feb 2013 14:32:34 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 031DE4A0C7 for ; Mon, 11 Feb 2013 14:32:17 +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 a4t6LW8mekwb for ; Mon, 11 Feb 2013 14:32: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-yh0-f49.google.com (mail-yh0-f49.google.com [209.85.213.49]) by theia.denx.de (Postfix) with ESMTPS id B74EA4A0EF for ; Mon, 11 Feb 2013 14:31:44 +0100 (CET) Received: by mail-yh0-f49.google.com with SMTP id m1so683291yhg.22 for ; Mon, 11 Feb 2013 05:31:42 -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=whTnY1IbrtGy2jrHPL7t4PfcEC+tQ7n1XZhaHGIHwk4=; b=yZMEkv+QQfNd3kPb6w1MZvX8iHXD0MViyn388yX8GVilBE8uMmFVAfWhpUly95BRJd 9NCFiVeCKfSec+cN+5BtQgJKIUImcAr7t8Uzn+dMplK49ui+Pl1uyB8qHwsvKHBA+cSs V3E+0YLPYaLeWUO+BS9rTfNmOn/XBXnxkBp510Ypyty5CbBLocSFG4FO23S4OjNxnngg vK5mY7PmuhEX/98gCSbVycHl9ZRksD5fOx0E7X0EoRWXmBCykWhoMYAmPt2LxgFXPU/m t5CBF5Vf+IdxsqPydHjcSP/yeXvL9B2oJZ3ES/+x39R3I7slaJyfCmwH8hEVgAHc7iLm uN6Q== X-Received: by 10.236.150.175 with SMTP id z35mr17975846yhj.4.1360589502329; Mon, 11 Feb 2013 05:31:42 -0800 (PST) Received: from nano.lab.ossystems.com.br ([187.23.144.59]) by mx.google.com with ESMTPS id s34sm47008050yhe.9.2013.02.11.05.31.39 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 11 Feb 2013 05:31:41 -0800 (PST) From: Otavio Salvador To: U-Boot Mailing List Date: Mon, 11 Feb 2013 11:35:51 -0200 Message-Id: <1360589756-26355-6-git-send-email-otavio@ossystems.com.br> X-Mailer: git-send-email 1.8.1 In-Reply-To: <1360589756-26355-1-git-send-email-otavio@ossystems.com.br> References: <1360589756-26355-1-git-send-email-otavio@ossystems.com.br> Cc: Fabio Estevam , Marek Vasut , Otavio Salvador Subject: [U-Boot] [PATCH v2 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 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__*/