From: Emmanuel Vadot Date: Sat, 5 Nov 2016 19:51:11 +0000 (+0100) Subject: sunxi: mmc: Set CONFIG_SYS_MMC_MAX_DEVICE X-Git-Tag: v2017.01-rc1~200 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ae042beb746fafbd499dbe6093c357a4d94a4aba;p=oweals%2Fu-boot.git 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 Reviewed-by: Hans de Goede Signed-off-by: Hans de Goede --- diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 2e02f8cd18..b0bfc0dfd7 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 */