1 From 8c1283e4c08528b009789303e112694d174cc1d1 Mon Sep 17 00:00:00 2001
2 From: Timo Ketola <timo@exertus.fi>
3 Date: Wed, 18 Apr 2012 22:55:34 +0000
4 Subject: [PATCH 33/56] i.MX2: Include asm/types.h in arch-mx25/imx-regs.h
6 types.h must be included in imx-regs.h if one wants to include
7 imx-regs.h in a board configuration file. That for one's part is
8 necessary, if one wants to use addresses defined in imx-regs.h.
10 For example, fsl_esdhc.c needs CONFIG_SYS_FSL_ESDHC_ADDR defined and
11 a proper thing is to define it with IMX_MMC_SDHCx_BASE in board
12 configuration file. This patch fixes the build in that case.
14 Signed-off-by: Timo Ketola <timo@exertus.fi>
15 Acked-by: Stefano Babic <sbabic@denx.de>
17 arch/arm/include/asm/arch-mx25/imx-regs.h | 3 +++
18 1 file changed, 3 insertions(+)
20 diff --git a/arch/arm/include/asm/arch-mx25/imx-regs.h b/arch/arm/include/asm/arch-mx25/imx-regs.h
21 index 7f9449b..cf925d7 100644
22 --- a/arch/arm/include/asm/arch-mx25/imx-regs.h
23 +++ b/arch/arm/include/asm/arch-mx25/imx-regs.h
29 +#include <asm/types.h>
32 extern void mx25_fec_init_pins(void);