Skip to content
Snippets Groups Projects
Commit 1c75596e authored by Marek Vasut's avatar Marek Vasut
Browse files

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: default avatarMarek 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>
parent ae9996c8
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment