diff options
author | Tom Rini <trini@ti.com> | 2011-11-23 05:13:06 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-12-06 23:59:39 +0100 |
commit | ee08a8260a3a7f6ef2001cfa3e7b6137b485f40a (patch) | |
tree | 349034da8a15b7424cf55c118512d108d91f8d7e /arch/arm/cpu/armv7/omap-common | |
parent | d067cc464fd10f9473bcedef94805a167d0525cb (diff) | |
download | u-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/cpu/armv7/omap-common')
-rw-r--r-- | arch/arm/cpu/armv7/omap-common/spl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/omap-common/spl.c b/arch/arm/cpu/armv7/omap-common/spl.c index f72d389..25f04ed 100644 --- a/arch/arm/cpu/armv7/omap-common/spl.c +++ b/arch/arm/cpu/armv7/omap-common/spl.c @@ -116,6 +116,10 @@ void board_init_r(gd_t *id, ulong dummy) timer_init(); +#ifdef CONFIG_SPL_BOARD_INIT + spl_board_init(); +#endif + boot_device = omap_boot_device(); debug("boot device - %d\n", boot_device); switch (boot_device) { |