summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2016-11-08 14:17:22 +0800
committerRobby Cai <robby.cai@nxp.com>2016-11-16 17:00:28 +0800
commit8d48af37f9109d9ee721977a8ea2707c355ceef8 (patch)
tree63ad5bf7f834b7734c6bb24befc904de0c65d430
parent85ac1b4aa6bbbd4a13347f3ce7eedd5363390314 (diff)
downloadu-boot-imx-8d48af37f9109d9ee721977a8ea2707c355ceef8.zip
u-boot-imx-8d48af37f9109d9ee721977a8ea2707c355ceef8.tar.gz
u-boot-imx-8d48af37f9109d9ee721977a8ea2707c355ceef8.tar.bz2
MLK-13440-4 warp: Replace CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT by using vs18_enable parameter
Change to use the new way to set the vs18_enable field to 1 for fixed 1.8v I/O eMMC. Don't use CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT any longer. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit c1bf2d975be66597f8fc25c9eef0f02bda3c5050)
-rw-r--r--board/warp/warp.c2
-rw-r--r--include/configs/warp.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/board/warp/warp.c b/board/warp/warp.c
index 49dfdb6..2c163ab 100644
--- a/board/warp/warp.c
+++ b/board/warp/warp.c
@@ -62,7 +62,7 @@ static void setup_iomux_uart(void)
}
static struct fsl_esdhc_cfg usdhc_cfg[1] = {
- {USDHC2_BASE_ADDR},
+ {USDHC2_BASE_ADDR, 0, 8, 0, 1}, /* fixed 1.8v IO voltage for eMMC chip */
};
int board_mmc_getcd(struct mmc *mmc)
diff --git a/include/configs/warp.h b/include/configs/warp.h
index 2e50e3f..ce9bd96 100644
--- a/include/configs/warp.h
+++ b/include/configs/warp.h
@@ -26,7 +26,6 @@
/* MMC Configs */
#define CONFIG_SYS_FSL_ESDHC_ADDR USDHC2_BASE_ADDR
-#define CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT
#define CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE
#define CONFIG_SUPPORT_EMMC_BOOT