diff options
author | Marek Vasut <marek.vasut+renesas@gmail.com> | 2019-03-18 06:04:17 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2019-03-25 20:26:53 +0100 |
commit | f4eaa56a52ce5a6bc348ac37fb3f2a309dff30a0 (patch) | |
tree | 898b45e24fa91a454de2fe7c2e4ddf40c4a20d1e /drivers | |
parent | 3cb2849c76ddb7b4da6a164b8513e1309715d765 (diff) | |
download | u-boot-f4eaa56a52ce5a6bc348ac37fb3f2a309dff30a0.tar.gz u-boot-f4eaa56a52ce5a6bc348ac37fb3f2a309dff30a0.tar.xz u-boot-f4eaa56a52ce5a6bc348ac37fb3f2a309dff30a0.zip |
mmc: sh_mmcif: Set default MMCIF clock rate
Set MMCIF clock rate to 97.5 MHz, which is the default according
to Gen2 datasheet.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mmc/sh_mmcif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/sh_mmcif.c b/drivers/mmc/sh_mmcif.c index 306daf1415..c8875ce8f8 100644 --- a/drivers/mmc/sh_mmcif.c +++ b/drivers/mmc/sh_mmcif.c @@ -696,7 +696,7 @@ static int sh_mmcif_dm_probe(struct udevice *dev) return ret; } - host->clk = clk_get_rate(&sh_mmcif_clk); + host->clk = clk_set_rate(&sh_mmcif_clk, 97500000); plat->cfg.name = dev->name; plat->cfg.host_caps = MMC_MODE_HS_52MHz | MMC_MODE_HS; |