[U-Boot] [PATCH V3 05/20] arch-mxs/sys_proto.h: include regs-common.h

Troy Kisky troy.kisky at boundarydevices.com
Fri Aug 2 01:27:22 CEST 2013


sys_proto uses mxs_register_32 so
include <asm/imx-common/regs-common.h>

like arch-mx6/sys_proto.h does.

This prevents warnings when building m28evk after
the next patch in the series.

Signed-off-by: Troy Kisky <troy.kisky at boundarydevices.com>
---
 arch/arm/include/asm/arch-mxs/sys_proto.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/include/asm/arch-mxs/sys_proto.h b/arch/arm/include/asm/arch-mxs/sys_proto.h
index 1038592..5ed6070 100644
--- a/arch/arm/include/asm/arch-mxs/sys_proto.h
+++ b/arch/arm/include/asm/arch-mxs/sys_proto.h
@@ -10,6 +10,8 @@
 #ifndef __SYS_PROTO_H__
 #define __SYS_PROTO_H__
 
+#include <asm/imx-common/regs-common.h>
+
 int mxs_reset_block(struct mxs_register_32 *reg);
 int mxs_wait_mask_set(struct mxs_register_32 *reg,
 		       uint32_t mask,
-- 
1.8.1.2



More information about the U-Boot mailing list