summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehoon Chung <[email protected]>2021-01-12 15:30:53 +0900
committerMinkyu Kang <[email protected]>2021-01-13 13:49:38 +0900
commita654b6a5ae142a4d0d21b2cb89a39e39e9eda954 (patch)
tree920786e3201bd5c1236a35cdf49d1af56a0359e6
parentee6726be4f0dccb612f0193c62ca149164c8a5af (diff)
samsung: arndale: remove board_mmc_init function
Remove board_mmc_init function. It will be probed with driver-model. Signed-off-by: Jaehoon Chung <[email protected]> Reviewed-by: Peng Fan <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Minkyu Kang <[email protected]>
-rw-r--r--arch/arm/mach-exynos/include/mach/dwmmc.h2
-rw-r--r--board/samsung/arndale/arndale.c13
2 files changed, 0 insertions, 15 deletions
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;