[U-Boot] [PATCH] MX25: fix build due to missing sys_proto.h

Stefano Babic sbabic at denx.de
Fri Jun 6 11:01:47 CEST 2014


THe mx25 arch does not have a sys_proto.h file.
Instead of creating a dummy file, the file
is not included for this SOC.

Signed-off-by: Stefano Babic <sbabic at denx.de>
---
 arch/arm/imx-common/iomux-v3.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/imx-common/iomux-v3.c b/arch/arm/imx-common/iomux-v3.c
index 306183a..c090b30 100644
--- a/arch/arm/imx-common/iomux-v3.c
+++ b/arch/arm/imx-common/iomux-v3.c
@@ -11,7 +11,9 @@
 #include <common.h>
 #include <asm/io.h>
 #include <asm/arch/imx-regs.h>
+#ifndef CONFIG_MX25
 #include <asm/arch/sys_proto.h>
+#endif
 #include <asm/imx-common/iomux-v3.h>
 
 static void *base = (void *)IOMUXC_BASE_ADDR;
-- 
1.9.1



More information about the U-Boot mailing list