提交 fe0ddffa 编写于 作者: Y Yoshihiro Shimoda 提交者: Nobuhiro Iwamatsu

sh: add calling mmc_initialize in board.c

Some SH have MMC controller. So, if we need it, we have to call
the mmc_initialize().
Signed-off-by: NYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
上级 d61cd370
......@@ -107,6 +107,15 @@ static int sh_net_init(void)
}
#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[] =
......@@ -137,6 +146,9 @@ init_fnc_t *init_sequence[] =
#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 */
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册