From: Jaehoon Chung Date: Tue, 12 Jan 2021 06:30:53 +0000 (+0900) Subject: samsung: arndale: remove board_mmc_init function X-Git-Tag: v2021.04-rc1~22^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a654b6a5ae142a4d0d21b2cb89a39e39e9eda954;p=pandora-u-boot.git samsung: arndale: remove board_mmc_init function Remove board_mmc_init function. It will be probed with driver-model. Signed-off-by: Jaehoon Chung Reviewed-by: Peng Fan Acked-by: Krzysztof Kozlowski Signed-off-by: Minkyu Kang --- diff --git a/arch/arm/mach-exynos/include/mach/dwmmc.h b/arch/arm/mach-exynos/include/mach/dwmmc.h index 5654a0ea6b2..59c28ed54c5 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 91813763cec..d283ef6275a 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;