projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cb2849
)
mmc: sh_mmcif: Set default MMCIF clock rate
author
Marek Vasut
<marek.vasut+renesas@gmail.com>
Mon, 18 Mar 2019 05:04:17 +0000
(06:04 +0100)
committer
Marek Vasut
<marex@denx.de>
Mon, 25 Mar 2019 19:26:53 +0000
(20:26 +0100)
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>
drivers/mmc/sh_mmcif.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/sh_mmcif.c
b/drivers/mmc/sh_mmcif.c
index 306daf141559e49731d4e384eb1f3593ca99a679..c8875ce8f8150950566c6b18869b30738b5640cb 100644
(file)
--- 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;