summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2011-11-23 05:13:06 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-12-06 23:59:39 +0100
commitee08a8260a3a7f6ef2001cfa3e7b6137b485f40a (patch)
tree349034da8a15b7424cf55c118512d108d91f8d7e /arch/arm/include
parentd067cc464fd10f9473bcedef94805a167d0525cb (diff)
downloadu-boot-imx-ee08a8260a3a7f6ef2001cfa3e7b6137b485f40a.zip
u-boot-imx-ee08a8260a3a7f6ef2001cfa3e7b6137b485f40a.tar.gz
u-boot-imx-ee08a8260a3a7f6ef2001cfa3e7b6137b485f40a.tar.bz2
OMAP3: Add SPL_BOARD_INIT hook
Add an SPL_BOARD_INIT hook and for OMAP3 have it turn on i2c. OMAP4 doesn't need i2c enabled in SPL. Enable SPL_BOARD_INIT on devkit8000. Cc: Frederik Kriewitz <frederik@kriewitz.eu> Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/omap_common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/omap_common.h b/arch/arm/include/asm/omap_common.h
index 913231b..1ec651b 100644
--- a/arch/arm/include/asm/omap_common.h
+++ b/arch/arm/include/asm/omap_common.h
@@ -94,6 +94,10 @@ void spl_nand_load_image(void);
/* MMC SPL functions */
void spl_mmc_load_image(void);
+#ifdef CONFIG_SPL_BOARD_INIT
+void spl_board_init(void);
+#endif
+
/*
* silicon revisions.
* Moving this to common, so that most of code can be moved to common,