sunxi: mmc: Set CONFIG_SYS_MMC_MAX_DEVICE
authorEmmanuel Vadot <manu@bidouilliste.com>
Sat, 5 Nov 2016 19:51:11 +0000 (20:51 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 28 Nov 2016 20:10:29 +0000 (15:10 -0500)
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>
include/configs/sunxi-common.h

index 2e02f8cd18560b7221bcd2c1053311da50755870..b0bfc0dfd7daecdf99a09a269e54532fa862833a 100644 (file)
 #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 */