From patchwork Mon Feb 18 00:45:30 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 221130 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 D95662C007E for ; Mon, 18 Feb 2013 11:42:21 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 862C74A93E; Mon, 18 Feb 2013 01:42:06 +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 RmZFmLTgU1ps; Mon, 18 Feb 2013 01:42:06 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9981E4A8CD; Mon, 18 Feb 2013 01:41:47 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E400C4A8CD for ; Mon, 18 Feb 2013 01:41:44 +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 GJIyojQwLh3b for ; Mon, 18 Feb 2013 01:41:43 +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-f46.google.com (mail-yh0-f46.google.com [209.85.213.46]) by theia.denx.de (Postfix) with ESMTPS id A07714A868 for ; Mon, 18 Feb 2013 01:41:26 +0100 (CET) Received: by mail-yh0-f46.google.com with SMTP id q15so903854yhf.5 for ; Sun, 17 Feb 2013 16:41:25 -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=qZBME/jL8BY2nv11pQ+WKciXgdUkxEzhrH2i0sX5X6E=; b=s2ZvOQNWhhc8MZCHcLG1UcbXlMSJ2xcKZRXpyPeKhYDzFaS2petm6cl5AwqYJCFu3V njjuIyycHgcmyp8Vek2qrQLTehlCTJ+fQvbW+f4A2nC/pRVtYQe3PaFSaD0JxWUJxjCU 3YbKTGNVsOUGjPbOKKErUp8p2bEzW980RrCayP6lDnhnslZDkgemngxzvz4j4d3qmZrA 1XuevhFiNgLQmfvUrNFLbDxv0nVpz3XGdVcT657msEJykRTL9gjtzMDyFynOkeyY25+H EI2JkYUY49PuECqxGOBvW6L5XC1K4UiMLC1oGhftFQV0/83IG9Ye8n0tcsvys/tiGuGK cSfQ== X-Received: by 10.236.141.74 with SMTP id f50mr17460687yhj.73.1361148085639; Sun, 17 Feb 2013 16:41:25 -0800 (PST) Received: from nano.lab.ossystems.com.br ([187.23.144.59]) by mx.google.com with ESMTPS id j1sm111429376yhn.3.2013.02.17.16.41.22 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 17 Feb 2013 16:41:24 -0800 (PST) From: Otavio Salvador To: U-Boot Mailing List Date: Sun, 17 Feb 2013 21:45:30 -0300 Message-Id: <1361148335-19197-6-git-send-email-otavio@ossystems.com.br> X-Mailer: git-send-email 1.8.1 In-Reply-To: <1361148335-19197-1-git-send-email-otavio@ossystems.com.br> References: <1361148335-19197-1-git-send-email-otavio@ossystems.com.br> Cc: Fabio Estevam , Marek Vasut , Otavio Salvador Subject: [U-Boot] [PATCH v4 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 v4: None 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__*/