ti: am335x: mmc: Set CONFIG_SYS_MMC_MAX_DEVICE
authorEmmanuel Vadot <manu@bidouilliste.com>
Thu, 5 Jan 2017 03:16:36 +0000 (04:16 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 14 Jan 2017 21:47:12 +0000 (16:47 -0500)
Set CONFIG_SYS_MMC_MAX_DEVICE to 2 for am335x SoC.
This define is needed in the API code.

Signed-off-by: Emmanuel Vadot <manu@bidouilliste.com>
include/configs/am335x_evm.h

index e78afde972a72100cf23ad597e890ac386263ec3..0161dbee394e8bdf350b74d4624ca7142f0ec4ed 100644 (file)
 #define CONFIG_ENV_OFFSET              0x0
 #define CONFIG_ENV_OFFSET_REDUND       (CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)
 #define CONFIG_SYS_REDUNDAND_ENVIRONMENT
+#define CONFIG_SYS_MMC_MAX_DEVICE      2
 #elif defined(CONFIG_NOR_BOOT)
 #define CONFIG_ENV_IS_IN_FLASH
 #define CONFIG_ENV_SECT_SIZE           (128 << 10)     /* 128 KiB */