summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-omap3
diff options
context:
space:
mode:
authorTom Rix <Tom.Rix@windriver.com>2010-01-27 11:11:55 -0500
committerTom Rix <Tom.Rix@windriver.com>2010-02-12 12:31:53 -0600
commit632e1d9014848ec8d983a629c2e35b4423816336 (patch)
tree315a5dfedf11c5ee957cbd9dc4d159de48a009ec /include/asm-arm/arch-omap3
parent093d6018cf0a8dae614c2924c0013d97e2a48662 (diff)
downloadu-boot-imx-632e1d9014848ec8d983a629c2e35b4423816336.zip
u-boot-imx-632e1d9014848ec8d983a629c2e35b4423816336.tar.gz
u-boot-imx-632e1d9014848ec8d983a629c2e35b4423816336.tar.bz2
OMAP3 Move declaration of gpmc_cfg.
Every omap3 board config file declared the global variable gpmc_cfg. This changes moves the declaration to a better location in the arch dependent header file cpu.h. Signed-off-by: Tom Rix <Tom.Rix@windriver.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'include/asm-arm/arch-omap3')
-rw-r--r--include/asm-arm/arch-omap3/cpu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-arm/arch-omap3/cpu.h b/include/asm-arm/arch-omap3/cpu.h
index e51c4f3..aa8de32 100644
--- a/include/asm-arm/arch-omap3/cpu.h
+++ b/include/asm-arm/arch-omap3/cpu.h
@@ -136,6 +136,10 @@ struct gpmc {
u32 ecc8_result; /* 0x21C */
u32 ecc9_result; /* 0x220 */
};
+
+/* Used for board specific gpmc initialization */
+extern struct gpmc *gpmc_cfg;
+
#else /* __ASSEMBLY__ */
#define GPMC_CONFIG1 0x00
#define GPMC_CONFIG2 0x04