From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Wed, 13 Feb 2013 22:13:42 +0100 Subject: [U-Boot] [PATCH v2 05/10] mxs: Fix iomux.h to not break build during assembly stage In-Reply-To: <1360589756-26355-6-git-send-email-otavio@ossystems.com.br> References: <1360589756-26355-1-git-send-email-otavio@ossystems.com.br> <1360589756-26355-6-git-send-email-otavio@ossystems.com.br> Message-ID: <201302132213.42512.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Otavio Salvador, > 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. Regular doesn't cut it? > 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__*/ Best regards, Marek Vasut