On 05/11/2017 11:28 AM, Peng Fan wrote:
> Use vs18_enable, and drop CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT.
> 
> Signed-off-by: Peng Fan <peng....@nxp.com>
> Cc: Otavio Salvador <ota...@ossystems.com.br>
> Cc: Stefano Babic <sba...@denx.de>
> Cc: Jaehoon Chung <jh80.ch...@samsung.com>
> ---
> 
> V3: none
> V2: none
> 
>  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 0bc0a6a..b1b528a 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, 0, 0, 1},
>  };
>  
>  int board_mmc_getcd(struct mmc *mmc)
> diff --git a/include/configs/warp.h b/include/configs/warp.h
> index 5274b27..387a079 100644
> --- a/include/configs/warp.h
> +++ b/include/configs/warp.h
> @@ -23,7 +23,6 @@
>  
>  /* MMC Configs */
>  #define CONFIG_SYS_FSL_ESDHC_ADDR    USDHC2_BASE_ADDR
> -#define CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT

This change can be moved to [PATCH 4/4].

>  #define CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE
>  #define CONFIG_SUPPORT_EMMC_BOOT
>  
> 

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to