public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/3] arm: socfpga: Remove cpu_mmc_init()
@ 2015-11-30 19:48 Marek Vasut
  2015-11-30 19:48 ` [U-Boot] [PATCH 2/3] mmc: dwmmc: socfpga: Convert to DM Marek Vasut
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Marek Vasut @ 2015-11-30 19:48 UTC (permalink / raw)
  To: u-boot

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 | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/arch/arm/mach-socfpga/misc.c b/arch/arm/mach-socfpga/misc.c
index bbd31ef..b110f5b 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;
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-12-02  5:42 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-30 19:48 [U-Boot] [PATCH 1/3] arm: socfpga: Remove cpu_mmc_init() Marek Vasut
2015-11-30 19:48 ` [U-Boot] [PATCH 2/3] mmc: dwmmc: socfpga: Convert to DM Marek Vasut
2015-12-01  5:24   ` Chin Liang See
2015-12-01 13:18     ` Marek Vasut
2015-12-01 18:42     ` Marek Vasut
2015-12-02  5:42       ` Chin Liang See
2015-12-01  5:36   ` Simon Glass
2015-11-30 19:48 ` [U-Boot] [PATCH 3/3] arm: socfpga: Enable CONFIG_DM_MMC Marek Vasut
2015-12-01  5:25   ` Chin Liang See
2015-12-01 13:22     ` Marek Vasut
2015-12-01  5:21 ` [U-Boot] [PATCH 1/3] arm: socfpga: Remove cpu_mmc_init() Chin Liang See

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox