[U-Boot] [PATCH v3 4/6] MVEBUMMC : REMOVE unnecessary delays
Gérald Kerma
drEagle at doukki.net
Sat Dec 13 21:35:34 CET 2014
Remove delays in mvebu_mmc_set_bus and mvebu_mmc_set_clk
Signed-off-by: Gérald Kerma <drEagle at doukki.net>
---
drivers/mmc/mvebu_mmc.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/mmc/mvebu_mmc.c b/drivers/mmc/mvebu_mmc.c
index 854bcc6..3e08f40 100644
--- a/drivers/mmc/mvebu_mmc.c
+++ b/drivers/mmc/mvebu_mmc.c
@@ -274,8 +274,6 @@ static void mvebu_mmc_set_clk(unsigned int clock)
mvebu_mmc_write(SDIO_CLK_DIV, m & MVEBU_MMC_BASE_DIV_MAX);
debug("%s: clock (%d) div : %d\n", DRIVER_NAME, clock, m);
}
-
- udelay(10*1000);
}
static void mvebu_mmc_set_bus(unsigned int bus)
@@ -315,7 +313,6 @@ static void mvebu_mmc_set_bus(unsigned int bus)
"high-speed" : "");
mvebu_mmc_write(SDIO_HOST_CTRL, ctrl_reg);
- udelay(10*1000);
}
static void mvebu_mmc_set_ios(struct mmc *mmc)
--
2.1.3
More information about the U-Boot
mailing list