mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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>
This commit is contained in:
@@ -696,7 +696,7 @@ static int sh_mmcif_dm_probe(struct udevice *dev)
|
|||||||
return ret;
|
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.name = dev->name;
|
||||||
plat->cfg.host_caps = MMC_MODE_HS_52MHz | MMC_MODE_HS;
|
plat->cfg.host_caps = MMC_MODE_HS_52MHz | MMC_MODE_HS;
|
||||||
|
Reference in New Issue
Block a user