summaryrefslogtreecommitdiff
path: root/include/configs/sunxi-common.h
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@bidouilliste.com>2016-11-05 19:51:11 (GMT)
committerTom Rini <trini@konsulko.com>2016-11-28 20:10:29 (GMT)
commitae042beb746fafbd499dbe6093c357a4d94a4aba (patch)
treece6258d4368a30bfdc2787d7b154ebe2b27a674f /include/configs/sunxi-common.h
parent2997ee50547b34521c7e560055a490609e90a590 (diff)
downloadu-boot-ae042beb746fafbd499dbe6093c357a4d94a4aba.tar.xz
sunxi: mmc: Set CONFIG_SYS_MMC_MAX_DEVICE
Set CONFIG_SYS_MMC_MAX_DEVICE to 4 for sunxi SoC. This define is needed in the API code. Signed-off-by: Emmanuel Vadot <manu@bidouilliste.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'include/configs/sunxi-common.h')
-rw-r--r--include/configs/sunxi-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 2e02f8c..b0bfc0d 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -145,6 +145,7 @@
#define CONFIG_MMC_SUNXI_SLOT 0
#define CONFIG_ENV_IS_IN_MMC
#define CONFIG_SYS_MMC_ENV_DEV 0 /* first detected MMC controller */
+#define CONFIG_SYS_MMC_MAX_DEVICE 4
#endif
/* 64MB of malloc() pool */