From 8d48af37f9109d9ee721977a8ea2707c355ceef8 Mon Sep 17 00:00:00 2001 From: Ye Li Date: Tue, 8 Nov 2016 14:17:22 +0800 Subject: 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 (cherry picked from commit c1bf2d975be66597f8fc25c9eef0f02bda3c5050) --- board/warp/warp.c | 2 +- include/configs/warp.h | 1 - 2 files changed, 1 insertion(+), 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 -- cgit v1.1