From 63786d299defb7248932d551b38575d36c1f6a84 Mon Sep 17 00:00:00 2001 From: Jerry Huang Date: Thu, 25 Nov 2010 17:06:10 +0000 Subject: [PATCH] fsl_esdhc: Fix max clock frequency The max clock of MMC is 52MHz Signed-off-by: Jerry Huang Tested-by: Stefano Babic Signed-off-by: Kumar Gala --- drivers/mmc/fsl_esdhc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c index 73d5cd3826..7bab2f66d7 100644 --- a/drivers/mmc/fsl_esdhc.c +++ b/drivers/mmc/fsl_esdhc.c @@ -477,7 +477,7 @@ int fsl_esdhc_initialize(bd_t *bis, struct fsl_esdhc_cfg *cfg) mmc->host_caps |= MMC_MODE_HS_52MHz | MMC_MODE_HS; mmc->f_min = 400000; - mmc->f_max = MIN(gd->sdhc_clk, 50000000); + mmc->f_max = MIN(gd->sdhc_clk, 52000000); mmc_register(mmc); -- 2.25.1