diff options
author | Peter Korsgaard <peter.korsgaard@barco.com> | 2012-10-18 01:21:10 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-10-25 11:31:37 -0700 |
commit | 75a23880a5ae2afff3578b56d0948429a8ccc1fc (patch) | |
tree | 3d706e6899d7eecdb8b67d96fd62ee589283b03e /arch | |
parent | e363426e999b786ee4791f49d90ae84a3210f7b8 (diff) |
am33xx/board: use cpu_mmc_init() for default mmc initialization
So platforms can override it with board_mmc_init() if needed.
Signed-off-by: Peter Korsgaard <peter.korsgaard@barco.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/cpu/armv7/am33xx/board.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/cpu/armv7/am33xx/board.c b/arch/arm/cpu/armv7/am33xx/board.c index 8280b35508..e4c123cd21 100644 --- a/arch/arm/cpu/armv7/am33xx/board.c +++ b/arch/arm/cpu/armv7/am33xx/board.c @@ -46,10 +46,10 @@ static const struct gpio_bank gpio_bank_am33xx[4] = { const struct gpio_bank *const omap_gpio_bank = gpio_bank_am33xx; #if defined(CONFIG_OMAP_HSMMC) && !defined(CONFIG_SPL_BUILD) -int board_mmc_init(bd_t *bis) +int cpu_mmc_init(bd_t *bis) { int ret; - + ret = omap_mmc_init(0, 0, 0); if (ret) return ret; |