projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'agust@denx.de' of git://git.denx.de/u-boot-staging
[oweals/u-boot.git]
/
arch
/
sh
/
lib
/
board.c
diff --git
a/arch/sh/lib/board.c
b/arch/sh/lib/board.c
index 90fe796ef30ed509f9b4acb766001657fc3b5df9..d9c0c228e06c5b44c7eba2253414a8357d87381f 100644
(file)
--- a/
arch/sh/lib/board.c
+++ b/
arch/sh/lib/board.c
@@
-107,6
+107,15
@@
static int sh_net_init(void)
}
#endif
}
#endif
+#if defined(CONFIG_CMD_MMC)
+static int sh_mmc_init(void)
+{
+ puts("MMC: ");
+ mmc_initialize(gd->bd);
+ return 0;
+}
+#endif
+
typedef int (init_fnc_t) (void);
init_fnc_t *init_sequence[] =
typedef int (init_fnc_t) (void);
init_fnc_t *init_sequence[] =
@@
-132,11
+141,14
@@
init_fnc_t *init_sequence[] =
stdio_init,
console_init_r,
interrupt_init,
stdio_init,
console_init_r,
interrupt_init,
-#ifdef BOARD_LATE_INIT
+#ifdef
CONFIG_
BOARD_LATE_INIT
board_late_init,
#endif
#if defined(CONFIG_CMD_NET)
sh_net_init, /* SH specific eth init */
board_late_init,
#endif
#if defined(CONFIG_CMD_NET)
sh_net_init, /* SH specific eth init */
+#endif
+#if defined(CONFIG_CMD_MMC)
+ sh_mmc_init,
#endif
NULL /* Terminate this list */
};
#endif
NULL /* Terminate this list */
};