diff options
author | Chandan Nath <chandan.nath@ti.com> | 2012-01-09 20:38:58 (GMT) |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-01-16 07:40:12 (GMT) |
commit | 876bdd6d460cfcb7dc3b3c52291e20d322a939d5 (patch) | |
tree | cd46cdf82bd7309d10411bc775faeccf61bd2666 /arch/arm/cpu/armv7/am33xx/board.c | |
parent | 750b4bfe1011dbb0fb1836fb84546c656d4995cf (diff) | |
download | u-boot-876bdd6d460cfcb7dc3b3c52291e20d322a939d5.tar.xz |
ARM:AM33XX: Add mmc/sd support
This patch add supports for mmc/sd driver on AM335X platform.
PLL and pinmux configurations for mmc/sd are configured in this
patch.
Signed-off-by: Chandan Nath <chandan.nath@ti.com>
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/arm/cpu/armv7/am33xx/board.c')
-rw-r--r-- | arch/arm/cpu/armv7/am33xx/board.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/am33xx/board.c b/arch/arm/cpu/armv7/am33xx/board.c index 78db3a5..312643c 100644 --- a/arch/arm/cpu/armv7/am33xx/board.c +++ b/arch/arm/cpu/armv7/am33xx/board.c @@ -64,3 +64,10 @@ void init_timer(void) /* Start the Timer */ writel(0x1, (&timer_base->tclr)); } + +#if defined(CONFIG_OMAP_HSMMC) && !defined(CONFIG_SPL_BUILD) +int board_mmc_init(bd_t *bis) +{ + return omap_mmc_init(0); +} +#endif |