From: Marek Vasut Date: Mon, 30 Nov 2015 19:38:45 +0000 (+0100) Subject: arm: socfpga: Remove cpu_mmc_init() X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=1c75596e68069a3957b8b8b0eb8689e9de9f57d8;p=u-boot.git arm: socfpga: Remove cpu_mmc_init() 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 Cc: Chin Liang See Cc: Dinh Nguyen Cc: Pantelis Antoniou Cc: Simon Glass Cc: Tom Rini --- diff --git a/arch/arm/mach-socfpga/misc.c b/arch/arm/mach-socfpga/misc.c index bbd31ef7b5..b110f5bb42 100644 --- a/arch/arm/mach-socfpga/misc.c +++ b/arch/arm/mach-socfpga/misc.c @@ -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;