]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
samsung: arndale: remove board_mmc_init function
authorJaehoon Chung <jh80.chung@samsung.com>
Tue, 12 Jan 2021 06:30:53 +0000 (15:30 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Wed, 13 Jan 2021 04:49:38 +0000 (13:49 +0900)
Remove board_mmc_init function.
It will be probed with driver-model.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
arch/arm/mach-exynos/include/mach/dwmmc.h
board/samsung/arndale/arndale.c

index 5654a0ea6b2ec9bc09e8dfbae7470cc9455139df..59c28ed54c5805c02211f5a29dcebdb5f748d38c 100644 (file)
@@ -25,5 +25,3 @@
 /* CLKSEL Register */
 #define DWMCI_DIVRATIO_BIT             24
 #define DWMCI_DIVRATIO_MASK            0x7
-
-int exynos_dwmmc_init(const void *blob);
index 91813763cecb54c33a6646535a7d2a98508f7548..d283ef6275abb06cac0a4986c9cf51c17159ebaa 100644 (file)
@@ -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;