]> git.sur5r.net Git - u-boot/commitdiff
mxs: Fix iomux.h to not break build during assembly stage
authorOtavio Salvador <otavio@ossystems.com.br>
Sat, 23 Feb 2013 02:43:08 +0000 (02:43 +0000)
committerStefano Babic <sbabic@denx.de>
Thu, 7 Mar 2013 16:22:57 +0000 (17:22 +0100)
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 <otavio@ossystems.com.br>
arch/arm/include/asm/arch-mxs/iomux.h

index 7abdf58b8bb7c92fadcbfdb4f609b1dee3ee28d2..42887154c4faefe862fffbaab5a843fb528161f4 100644 (file)
 #ifndef __MACH_MXS_IOMUX_H__
 #define __MACH_MXS_IOMUX_H__
 
+#ifndef __ASSEMBLY__
+
+#include <asm/types.h>
+
 /*
  * 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__*/