diff options
author | Ye.Li <B37916@freescale.com> | 2014-10-30 18:30:54 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-11-03 11:21:49 +0100 |
commit | 36255d67790b5a4f086e2c157ecea2455df0b7ce (patch) | |
tree | 1460f9203806ac96cbd9566fa796420a1e0e1ae9 /include/configs | |
parent | 60b1e39586c038fd8b0d8301e73bdda5ecfdba89 (diff) | |
download | u-boot-imx-36255d67790b5a4f086e2c157ecea2455df0b7ce.zip u-boot-imx-36255d67790b5a4f086e2c157ecea2455df0b7ce.tar.gz u-boot-imx-36255d67790b5a4f086e2c157ecea2455df0b7ce.tar.bz2 |
imx: mx6slevk: Add support for USDHC1 and USDHC3 slots
There are three SD/MMC sockets on mx6slevk boards. Implements the
full support for them.
The default boot socket is USDHC2, so the MMC environment is set
to that device.
Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/mx6slevk.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h index fddedf1..4fcaf51 100644 --- a/include/configs/mx6slevk.h +++ b/include/configs/mx6slevk.h @@ -190,7 +190,6 @@ #define CONFIG_ENV_OFFSET (6 * SZ_64K) #define CONFIG_ENV_SIZE SZ_8K #define CONFIG_ENV_IS_IN_MMC -#define CONFIG_SYS_MMC_ENV_DEV 0 #define CONFIG_OF_LIBFDT #define CONFIG_CMD_BOOTZ @@ -210,4 +209,9 @@ #define CONFIG_SF_DEFAULT_MODE SPI_MODE_0 #endif +#define CONFIG_SYS_FSL_USDHC_NUM 3 +#if defined(CONFIG_ENV_IS_IN_MMC) +#define CONFIG_SYS_MMC_ENV_DEV 1 /* SDHC2*/ +#endif + #endif /* __CONFIG_H */ |