diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 2e02f8cd18560b7221bcd2c1053311da50755870..b0bfc0dfd7daecdf99a09a269e54532fa862833a 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 */