提交 6d7a5707 编写于 作者: E Emmanuel Vadot 提交者: Tom Rini

api: Define a default mmc max device

Define a default number of 1 for mmc max device if board config didn't
specify one.
Signed-off-by: NEmmanuel Vadot <manu@bidouilliste.com>
Reviewed-by: NSimon Glass <sjg@chromium.org>
上级 872faf5d
......@@ -43,6 +43,9 @@ struct stor_spec {
static struct stor_spec specs[ENUM_MAX] = { { 0, 0, 0, 0, NULL }, };
#ifndef CONFIG_SYS_MMC_MAX_DEVICE
#define CONFIG_SYS_MMC_MAX_DEVICE 1
#endif
void dev_stor_init(void)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册