[PATCH 1/2] samsung: arndale: remove board_mmc_init function

Peng Fan peng.fan at nxp.com
Wed Jan 13 02:31:18 CET 2021


> Subject: [PATCH 1/2] samsung: arndale: remove board_mmc_init function
> 
> Remove board_mmc_init function.
> It will be probed with driver-model.
> 
> Signed-off-by: Jaehoon Chung <jh80.chung at samsung.com>

Reviewed-by: Peng Fan <peng.fan at nxp.com>

> ---
>  arch/arm/mach-exynos/include/mach/dwmmc.h |  2 --
>  board/samsung/arndale/arndale.c           | 13 -------------
>  2 files changed, 15 deletions(-)
> 
> diff --git a/arch/arm/mach-exynos/include/mach/dwmmc.h
> b/arch/arm/mach-exynos/include/mach/dwmmc.h
> index 5654a0ea6b..59c28ed54c 100644
> --- a/arch/arm/mach-exynos/include/mach/dwmmc.h
> +++ b/arch/arm/mach-exynos/include/mach/dwmmc.h
> @@ -25,5 +25,3 @@
>  /* CLKSEL Register */
>  #define DWMCI_DIVRATIO_BIT		24
>  #define DWMCI_DIVRATIO_MASK		0x7
> -
> -int exynos_dwmmc_init(const void *blob); diff --git
> a/board/samsung/arndale/arndale.c b/board/samsung/arndale/arndale.c
> index 91813763ce..d283ef6275 100644
> --- a/board/samsung/arndale/arndale.c
> +++ b/board/samsung/arndale/arndale.c
> @@ -73,19 +73,6 @@ int dram_init_banksize(void)
>  	return 0;
>  }
> 
> -#ifdef CONFIG_MMC
> -int board_mmc_init(struct bd_info *bis) -{
> -	int ret;
> -	/* dwmmc initializattion for available channels */
> -	ret = exynos_dwmmc_init(gd->fdt_blob);
> -	if (ret)
> -		debug("dwmmc init failed\n");
> -
> -	return ret;
> -}
> -#endif
> -
>  static int board_uart_init(void)
>  {
>  	int err = 0, uart_id;
> --
> 2.17.1



More information about the U-Boot mailing list