summaryrefslogtreecommitdiff
path: root/drivers/mmc/mvebu_mmc.c
diff options
context:
space:
mode:
authorGerald Kerma <drEagle@doukki.net>2014-12-13 21:35:34 +0100
committerPantelis Antoniou <pantelis.antoniou@konsulko.com>2015-01-06 10:10:16 +0200
commit86eeecafc24408822c1c8c329963e6f76751cae1 (patch)
tree78a9a6a085f48b3ba040d1bc36fa4bf9271d44fa /drivers/mmc/mvebu_mmc.c
parentfc0f25f91948eef623999ab0874d6bd4604cb889 (diff)
downloadu-boot-imx-86eeecafc24408822c1c8c329963e6f76751cae1.zip
u-boot-imx-86eeecafc24408822c1c8c329963e6f76751cae1.tar.gz
u-boot-imx-86eeecafc24408822c1c8c329963e6f76751cae1.tar.bz2
MVEBUMMC : REMOVE unnecessary delays
Remove delays in mvebu_mmc_set_bus and mvebu_mmc_set_clk Signed-off-by: GĂ©rald Kerma <drEagle@doukki.net> Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Diffstat (limited to 'drivers/mmc/mvebu_mmc.c')
-rw-r--r--drivers/mmc/mvebu_mmc.c3
1 files changed, 0 insertions, 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)