summaryrefslogtreecommitdiff
path: root/include/configs/am335x_evm.h
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@bidouilliste.com>2017-01-05 04:16:36 +0100
committerTom Rini <trini@konsulko.com>2017-01-14 16:47:12 -0500
commitb1c6a54a534d2579db1375039a45572fe38d0ce8 (patch)
tree21412f4804418d3297f802cc464187642c41b629 /include/configs/am335x_evm.h
parentbb5854c4f459b1180dd7c43f4745d5dbbc04d3c9 (diff)
downloadu-boot-imx-b1c6a54a534d2579db1375039a45572fe38d0ce8.zip
u-boot-imx-b1c6a54a534d2579db1375039a45572fe38d0ce8.tar.gz
u-boot-imx-b1c6a54a534d2579db1375039a45572fe38d0ce8.tar.bz2
ti: am335x: mmc: Set CONFIG_SYS_MMC_MAX_DEVICE
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>
Diffstat (limited to 'include/configs/am335x_evm.h')
-rw-r--r--include/configs/am335x_evm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index e78afde..0161dbe 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -347,6 +347,7 @@
#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 */