[U-Boot] [PATCH v3 4/6] MVEBUMMC : REMOVE unnecessary delays

Pantelis Antoniou panto at antoniou-consulting.com
Mon Jan 5 19:28:49 CET 2015


Hi Gérald,

> On Dec 13, 2014, at 22:35 , Gérald Kerma <drEagle at doukki.net> wrote:
> 
> 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

Applied, thanks

— Pantelis



More information about the U-Boot mailing list