]> git.sur5r.net Git - u-boot/commitdiff
arm: socfpga: Remove cpu_mmc_init()
authorMarek Vasut <marex@denx.de>
Mon, 30 Nov 2015 19:38:45 +0000 (20:38 +0100)
committerMarek Vasut <marex@denx.de>
Sun, 6 Dec 2015 23:15:59 +0000 (00:15 +0100)
This function triggers the registration of the dwmmc driver on SoCFPGA,
but this is not needed in case the driver is correctly probed from DT.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Pantelis Antoniou <panto@antoniou-consulting.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
arch/arm/mach-socfpga/misc.c

index bbd31ef7b522dcd6bab0ff445f6ba3da0c69e097..b110f5bb42ba317d9da64c00429e2433ca3a9224 100644 (file)
@@ -130,17 +130,6 @@ int cpu_eth_init(bd_t *bis)
 }
 #endif
 
-#ifdef CONFIG_DWMMC
-/*
- * Initializes MMC controllers.
- * to override, implement board_mmc_init()
- */
-int cpu_mmc_init(bd_t *bis)
-{
-       return socfpga_dwmmc_init(gd->fdt_blob);
-}
-#endif
-
 struct {
        const char      *mode;
        const char      *name;