Skip to content
Snippets Groups Projects
Commit 6d7a5707 authored by Emmanuel Vadot's avatar Emmanuel Vadot Committed by Tom Rini
Browse files

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: default avatarEmmanuel Vadot <manu@bidouilliste.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 872faf5d
No related branches found
No related tags found
No related merge requests found
......@@ -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)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment