summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorTimo Ketola <timo@exertus.fi>2012-04-18 22:55:34 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-05-15 08:31:34 +0200
commit8f385e958dbccb2c9d38e3a5239f8b840c916419 (patch)
treea59d72bc5382f3e1ca3c82628fa773a7c2addaf6 /arch/arm
parent5614553d564e1c66684c207e120557ef81e416dc (diff)
downloadu-boot-imx-8f385e958dbccb2c9d38e3a5239f8b840c916419.zip
u-boot-imx-8f385e958dbccb2c9d38e3a5239f8b840c916419.tar.gz
u-boot-imx-8f385e958dbccb2c9d38e3a5239f8b840c916419.tar.bz2
i.MX2: Include asm/types.h in arch-mx25/imx-regs.h
types.h must be included in imx-regs.h if one wants to include imx-regs.h in a board configuration file. That for one's part is necessary, if one wants to use addresses defined in imx-regs.h. For example, fsl_esdhc.c needs CONFIG_SYS_FSL_ESDHC_ADDR defined and a proper thing is to define it with IMX_MMC_SDHCx_BASE in board configuration file. This patch fixes the build in that case. Signed-off-by: Timo Ketola <timo@exertus.fi> Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/include/asm/arch-mx25/imx-regs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx25/imx-regs.h b/arch/arm/include/asm/arch-mx25/imx-regs.h
index 7f9449b..cf925d7 100644
--- a/arch/arm/include/asm/arch-mx25/imx-regs.h
+++ b/arch/arm/include/asm/arch-mx25/imx-regs.h
@@ -34,6 +34,9 @@
#define _IMX_REGS_H
#ifndef __ASSEMBLY__
+
+#include <asm/types.h>
+
#ifdef CONFIG_FEC_MXC
extern void mx25_fec_init_pins(void);
#endif