projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e363426
)
am33xx/board: use cpu_mmc_init() for default mmc initialization
author
Peter Korsgaard
<peter.korsgaard@barco.com>
Thu, 18 Oct 2012 01:21:10 +0000
(
01:21
+0000)
committer
Tom Rini
<trini@ti.com>
Thu, 25 Oct 2012 18:31:37 +0000
(11:31 -0700)
So platforms can override it with board_mmc_init() if needed.
Signed-off-by: Peter Korsgaard <peter.korsgaard@barco.com>
arch/arm/cpu/armv7/am33xx/board.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/am33xx/board.c
b/arch/arm/cpu/armv7/am33xx/board.c
index 8280b3550894ad42da5d4b50ae15e480c218af25..e4c123cd21d614f3b2bee6a3aabf6a9e5288be56 100644
(file)
--- 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;